mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 07:01:23 +00:00
HID: move a4tech quirks
Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
parent
0f2213208f
commit
14a21cd459
9 changed files with 175 additions and 43 deletions
|
@ -515,15 +515,6 @@ mapped:
|
|||
hidinput, field, usage, &bit, &max) < 0)
|
||||
goto ignore;
|
||||
|
||||
if ((device->quirks & (HID_QUIRK_2WHEEL_MOUSE_HACK_7 |
|
||||
HID_QUIRK_2WHEEL_MOUSE_HACK_B8)) && (usage->type == EV_REL) &&
|
||||
(usage->code == REL_WHEEL))
|
||||
set_bit(REL_HWHEEL, bit);
|
||||
|
||||
if ((device->quirks & HID_QUIRK_2WHEEL_MOUSE_HACK_7) &&
|
||||
(usage->hid == 0x00090007))
|
||||
goto ignore;
|
||||
|
||||
set_bit(usage->type, input->evbit);
|
||||
|
||||
while (usage->code <= max && test_and_set_bit(usage->code, bit))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue