summaryrefslogtreecommitdiffstats
path: root/drivers/usb/input/hid.h
diff options
context:
space:
mode:
authorVojtech Pavlik2005-09-05 07:07:59 +0200
committerDmitry Torokhov2005-09-05 07:07:59 +0200
commit0aebfdac042b63d0f2625414062e138a4333181c (patch)
tree44d08bf2575e2dc16d304891cc90711bfd2fdf94 /drivers/usb/input/hid.h
parentInpur: recognize and ignore Logitech vendor usages in HID (diff)
downloadkernel-qcow2-linux-0aebfdac042b63d0f2625414062e138a4333181c.tar.gz
kernel-qcow2-linux-0aebfdac042b63d0f2625414062e138a4333181c.tar.xz
kernel-qcow2-linux-0aebfdac042b63d0f2625414062e138a4333181c.zip
Input: add HID simulation mappings
Add simulation usage page mappings to hid-input.c to support a new crop of joysticks using them to designate Rudder and Throttle controls. 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 f3b85a0c200c..cea5cf34b5f9 100644
--- a/drivers/usb/input/hid.h
+++ b/drivers/usb/input/hid.h
@@ -173,6 +173,7 @@ struct hid_item {
#define HID_UP_UNDEFINED 0x00000000
#define HID_UP_GENDESK 0x00010000
+#define HID_UP_SIMULATION 0x00020000
#define HID_UP_KEYBOARD 0x00070000
#define HID_UP_LED 0x00080000
#define HID_UP_BUTTON 0x00090000