Skip to content

Commit

Permalink
chore: add todo remove legacy input
Browse files Browse the repository at this point in the history
  • Loading branch information
Hazer committed May 30, 2024
1 parent 2898ae8 commit 39c6968
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmake/compile_definitions/linux.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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/")
Expand Down
2 changes: 1 addition & 1 deletion cmake/prep/options.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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()
2 changes: 1 addition & 1 deletion src/platform/linux/input/legacy_input.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file src/platform/linux/input/legacy_input.cpp
* @brief todo
* TODO: Remove this file after the next stable release
*/
#include <fcntl.h>
#include <linux/uinput.h>
Expand Down

0 comments on commit 39c6968

Please sign in to comment.