• J
    HID: ignore all non-LED usages in output fields in hid-input · 82eb1219
    Jiri Kosina 提交于
    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: NRenato Golin <rengolin@gmail.com>
    Signed-off-by: NJiri Kosina <jkosina@suse.cz>
    82eb1219
hid-input.c 37.4 KB