Files
xserver/hw/kdrive/linux/meson.build
stefan11111 cc152cf964 kdrive/linux: Improve evdev driver autodetection
It should now work out of the box on most setups
with one mouse and one keyboard.

It probably still breaks on some single mouse and keyboard
setups, and on setups with more than one mouse or keyboard.

Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
2026-01-12 16:46:17 +01:00

35 lines
600 B
Meson

srcs_linux = [
'linux.c'
]
kdrive_linux_dep = common_dep
if build_kdrive_kbd
srcs_linux += 'keyboard.c'
endif
if build_kdrive_mouse
srcs_linux += 'mouse.c'
srcs_linux += 'ms.c'
srcs_linux += 'ps2.c'
endif
if build_kdrive_evdev
srcs_linux += 'evdev/evdev.c'
srcs_linux += 'evdev/evdev_autodetect.c'
endif
if build_kdrive_tslib
srcs_linux += 'tslib.c'
kdrive_linux_dep += tslib_dep
endif
linux = static_library('linux',
srcs_linux,
include_directories: [
inc,
include_directories('../src'),
],
dependencies: kdrive_linux_dep,
)