From 39c6968861f1473c0a1edebb912210eb7cf6d0f2 Mon Sep 17 00:00:00 2001 From: Vithorio Polten Date: Wed, 29 May 2024 22:34:21 -0300 Subject: [PATCH] chore: add todo remove legacy input --- cmake/compile_definitions/linux.cmake | 2 +- cmake/prep/options.cmake | 2 +- src/platform/linux/input/legacy_input.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmake/compile_definitions/linux.cmake b/cmake/compile_definitions/linux.cmake index 7ad9dcc83df..db3d5ad521f 100644 --- a/cmake/compile_definitions/linux.cmake +++ b/cmake/compile_definitions/linux.cmake @@ -230,7 +230,7 @@ if (${SUNSHINE_TRAY} EQUAL 0 AND SUNSHINE_REQUIRE_TRAY) message(FATAL_ERROR "Tray icon is required") endif() -if(${SUNSHINE_USE_LEGACY_INPUT}) +if(${SUNSHINE_USE_LEGACY_INPUT}) # TODO: Remove this legacy option after the next stable release list(APPEND PLATFORM_TARGET_FILES "${CMAKE_SOURCE_DIR}/src/platform/linux/input/legacy_input.cpp") else() add_subdirectory("${CMAKE_SOURCE_DIR}/third-party/inputtino/") diff --git a/cmake/prep/options.cmake b/cmake/prep/options.cmake index aa956531d60..7744fc89e32 100644 --- a/cmake/prep/options.cmake +++ b/cmake/prep/options.cmake @@ -53,6 +53,6 @@ elseif(UNIX) # Linux "Enable building wayland specific code." ON) option(SUNSHINE_ENABLE_X11 "Enable X11 grab if available." ON) - option(SUNSHINE_USE_LEGACY_INPUT + option(SUNSHINE_USE_LEGACY_INPUT # TODO: Remove this legacy option after the next stable release "Use the legacy virtual input implementation." OFF) endif() diff --git a/src/platform/linux/input/legacy_input.cpp b/src/platform/linux/input/legacy_input.cpp index 9f76a189192..7a8d147c559 100644 --- a/src/platform/linux/input/legacy_input.cpp +++ b/src/platform/linux/input/legacy_input.cpp @@ -1,6 +1,6 @@ /** * @file src/platform/linux/input/legacy_input.cpp - * @brief todo + * TODO: Remove this file after the next stable release */ #include #include