Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend the joystick detection #6170

Merged
merged 2 commits into from
Jun 22, 2017
Merged

Extend the joystick detection #6170

merged 2 commits into from
Jun 22, 2017

Commits on Jun 21, 2017

  1. 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#6137
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
    whot committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    c874fed View commit details
    Browse the repository at this point in the history
  2. udev: always consider devices with joystick axes/buttons as joystick

    Even when they don't have an x/y axis.
    
    systemd#6137
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
    whot committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    2e856c6 View commit details
    Browse the repository at this point in the history