diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2008-06-23 17:31:09 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2008-10-14 17:50:51 -0400 |
commit | 14a21cd459f97e3b3cc4fcde48fc5bcdb81d097e (patch) | |
tree | cff11c6bad54ddecce5d74f6391fb487ac0104eb /drivers/hid/hid-input.c | |
parent | 0f2213208f8da51bcb665309e3468f000489c04f (diff) |
HID: move a4tech quirks
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-input.c')
-rw-r--r-- | drivers/hid/hid-input.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/hid/hid-input.c b/drivers/hid/hid-input.c index f1df25ab0baa..1d2d0827820c 100644 --- a/drivers/hid/hid-input.c +++ b/drivers/hid/hid-input.c | |||
@@ -515,15 +515,6 @@ mapped: | |||
515 | hidinput, field, usage, &bit, &max) < 0) | 515 | hidinput, field, usage, &bit, &max) < 0) |
516 | goto ignore; | 516 | goto ignore; |
517 | 517 | ||
518 | if ((device->quirks & (HID_QUIRK_2WHEEL_MOUSE_HACK_7 | | ||
519 | HID_QUIRK_2WHEEL_MOUSE_HACK_B8)) && (usage->type == EV_REL) && | ||
520 | (usage->code == REL_WHEEL)) | ||
521 | set_bit(REL_HWHEEL, bit); | ||
522 | |||
523 | if ((device->quirks & HID_QUIRK_2WHEEL_MOUSE_HACK_7) && | ||
524 | (usage->hid == 0x00090007)) | ||
525 | goto ignore; | ||
526 | |||
527 | set_bit(usage->type, input->evbit); | 518 | set_bit(usage->type, input->evbit); |
528 | 519 | ||
529 | while (usage->code <= max && test_and_set_bit(usage->code, bit)) | 520 | while (usage->code <= max && test_and_set_bit(usage->code, bit)) |