evdev: A joystick could be ignored before opening input device
authorduna.oh <duna.oh@samsung.com>
Tue, 12 Jul 2022 06:17:52 +0000 (15:17 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Tue, 4 Feb 2025 10:03:45 +0000 (19:03 +0900)
commitdcfd1e4667d0031ddaeb06135d16dde8e2e15b9f
tree91ba24dedc30edb786d362bda6b920b4e1af3bf6
parent9b3db8ddb5b589b78fc5979673e7fd33300408bc
evdev: A joystick could be ignored before opening input device

add checking if the builtin property 'ID_INPUT_JOYSTICK' is set.
Because 'LIBINPUT_IGNORE_DEVICE' is usually set by udev rule,
it may not be determined until the udev rule is parsed.

A joystick is not supported in libinput for now.

Change-Id: I19cc67538dd1ccc6f1c6f2a2dccbb96d344d40ac
src/evdev.c