Disable stdin input by default and add ability to disable EVDEV input
This commit is contained in:
parent
15afe89aff
commit
21a377707f
4 changed files with 53 additions and 37 deletions
|
@ -103,6 +103,14 @@ elseif ("${PLATFORM}" MATCHES "DRM")
|
|||
list(APPEND LIBS_PRIVATE ${WAYLAND_CLIENT})
|
||||
endif ()
|
||||
|
||||
if (DISABLE_EVDEV_INPUT)
|
||||
add_definitions(-DDISABLE_EVDEV_INPUT)
|
||||
endif ()
|
||||
|
||||
if (SUPPORT_SSH_KEYBOARD_RPI)
|
||||
add_definitions(-DSUPPORT_SSH_KEYBOARD_RPI)
|
||||
endif ()
|
||||
|
||||
elseif ("${PLATFORM}" MATCHES "SDL")
|
||||
find_package(SDL2 REQUIRED)
|
||||
set(PLATFORM_CPP "PLATFORM_DESKTOP_SDL")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue