diff options
Diffstat (limited to 'drivers/usb/input/hid-input.c')
-rw-r--r-- | drivers/usb/input/hid-input.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/input/hid-input.c b/drivers/usb/input/hid-input.c index 22f9d919a3f2..14acfc579f86 100644 --- a/drivers/usb/input/hid-input.c +++ b/drivers/usb/input/hid-input.c | |||
@@ -396,6 +396,9 @@ static void hidinput_configure_usage(struct hid_input *hidinput, struct hid_fiel | |||
396 | if (usage->code > max) | 396 | if (usage->code > max) |
397 | goto ignore; | 397 | goto ignore; |
398 | 398 | ||
399 | if (((device->quirks & (HID_QUIRK_2WHEEL_POWERMOUSE)) && (usage->hid == 0x00010032))) | ||
400 | map_rel(REL_HWHEEL); | ||
401 | |||
399 | if ((device->quirks & (HID_QUIRK_2WHEEL_MOUSE_HACK_7 | HID_QUIRK_2WHEEL_MOUSE_HACK_5)) && | 402 | if ((device->quirks & (HID_QUIRK_2WHEEL_MOUSE_HACK_7 | HID_QUIRK_2WHEEL_MOUSE_HACK_5)) && |
400 | (usage->type == EV_REL) && (usage->code == REL_WHEEL)) | 403 | (usage->type == EV_REL) && (usage->code == REL_WHEEL)) |
401 | set_bit(REL_HWHEEL, bit); | 404 | set_bit(REL_HWHEEL, bit); |