evdev: A joystick could be ignored before opening input device 85/277685/5 accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix tizen_7.0 tizen_7.0_hotfix tizen_bkup_20230126 accepted/tizen/7.0/unified/20221110.061709 accepted/tizen/7.0/unified/hotfix/20221116.110953 accepted/tizen/unified/20220721.135044 submit/tizen/20220720.055550 tizen_7.0_m2_release
authorduna.oh <duna.oh@samsung.com>
Tue, 12 Jul 2022 06:17:52 +0000 (15:17 +0900)
committerduna.oh <duna.oh@samsung.com>
Wed, 20 Jul 2022 03:52:42 +0000 (12:52 +0900)
commit6dafbf6b92d7440f863538133f4a8c04f44fe754
treeefb7012385a6c71920b6e931b50ac4850081e5de
parent4cbdea63efd6d60753e1d55efc567d17e007ccc1
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