summaryrefslogtreecommitdiff
path: root/drivers/usb/input/hid.h
diff options
context:
space:
mode:
authorVojtech Pavlik <vojtech@suse.cz>2005-09-05 00:13:15 -0500
committerDmitry Torokhov <dtor_core@ameritech.net>2005-09-05 00:13:15 -0500
commitc58de6d949a9d2c386c4d814013b6c967c14ea5a (patch)
tree4b47ed0557e95151119e91a1763a582e6bb9a05c /drivers/usb/input/hid.h
parentc4786ca8a4274a0bbffe217917972943348bed64 (diff)
downloadlinux-c58de6d949a9d2c386c4d814013b6c967c14ea5a.tar.gz
linux-c58de6d949a9d2c386c4d814013b6c967c14ea5a.tar.xz
Input: HID - add a quirk for the Apple Powermouse
Add a quirk for the Apple Powermouse, remapping GenericDesktop.Z to Rel.HWheel, to allow horizontal scrolling in Linux. Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/usb/input/hid.h')
-rw-r--r--drivers/usb/input/hid.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/input/hid.h b/drivers/usb/input/hid.h
index d76bbc81f6a8..47f75a43a468 100644
--- a/drivers/usb/input/hid.h
+++ b/drivers/usb/input/hid.h
@@ -245,6 +245,7 @@ struct hid_item {
#define HID_QUIRK_2WHEEL_MOUSE_HACK_7 0x080
#define HID_QUIRK_2WHEEL_MOUSE_HACK_5 0x100
#define HID_QUIRK_2WHEEL_MOUSE_HACK_ON 0x200
+#define HID_QUIRK_2WHEEL_POWERMOUSE 0x400
/*
* This is the global environment of the parser. This information is