Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
udev: consider a device with BTN_TRIGGER_HAPPY as joystick
These buttons were added specifically for joysticks with lots of buttons, no other device should be using them. See kernel commit cf2f765f18960 "HID: handle joysticks with large number of buttons" We only test for BTN_TRIGGER_HAPPY (an alias for BTN_TRIGGER_HAPPY1) here, a device that sets buttons 2 and above but doesn't set 1 is considered buggy. systemd/systemd#6137 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
- Loading branch information