summaryrefslogtreecommitdiff
path: root/drivers/usb/input/hid.h
diff options
context:
space:
mode:
authorVojtech Pavlik <vojtech@suse.cz>2005-09-05 00:07:59 -0500
committerDmitry Torokhov <dtor_core@ameritech.net>2005-09-05 00:07:59 -0500
commit0aebfdac042b63d0f2625414062e138a4333181c (patch)
tree44d08bf2575e2dc16d304891cc90711bfd2fdf94 /drivers/usb/input/hid.h
parentb8c9c642db4ab0811cc5bb0d8b90cc7819055c95 (diff)
downloadlwn-0aebfdac042b63d0f2625414062e138a4333181c.tar.gz
lwn-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