Skip to content
  • Jiri Kosina's avatar
    HID: ignore all non-LED usages in output fields in hid-input · 82eb1219
    Jiri Kosina authored
    
    
    We have to ignore all non-LED usages in output fields if the
    report descriptor of the device specifies any. If we don't do
    so, the devices which contain the same usages both in input and
    output reports with different parameters will mess things up. In
    hid-input, we currently care only for the input usages, with exception
    for LEDs. All other output usages should be properly handled by
    appropriate force-feedback driver.
    
    Fixes auto-calibration for Saitek Cyborg Evo Force joystick.
    
    Reported-by: default avatarRenato Golin <rengolin@gmail.com>
    Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
    82eb1219