diff options
author | Dmitry Torokhov <dtor_core@ameritech.net> | 2006-01-14 00:27:51 -0500 |
---|---|---|
committer | Dmitry Torokhov <dtor_core@ameritech.net> | 2006-01-14 00:27:51 -0500 |
commit | 5fce9d7bc5f485358263cf3d895e90c974449e1f (patch) | |
tree | 230dfcd1e9fc1994b2dc4a068724f780212be943 /drivers/usb/input/hid-input.c | |
parent | f0d5c6f419d3a10443f66d6835855837eae4ac4b (diff) |
Input: HID - add more simulation usages
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/usb/input/hid-input.c')
-rw-r--r-- | drivers/usb/input/hid-input.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/usb/input/hid-input.c b/drivers/usb/input/hid-input.c index 9e5a80bbd16f..36a08c04c460 100644 --- a/drivers/usb/input/hid-input.c +++ b/drivers/usb/input/hid-input.c | |||
@@ -135,8 +135,11 @@ static void hidinput_configure_usage(struct hid_input *hidinput, struct hid_fiel | |||
135 | case HID_UP_SIMULATION: | 135 | case HID_UP_SIMULATION: |
136 | 136 | ||
137 | switch (usage->hid & 0xffff) { | 137 | switch (usage->hid & 0xffff) { |
138 | case 0xba: map_abs(ABS_RUDDER); break; | 138 | case 0xba: map_abs(ABS_RUDDER); break; |
139 | case 0xbb: map_abs(ABS_THROTTLE); break; | 139 | case 0xbb: map_abs(ABS_THROTTLE); break; |
140 | case 0xc4: map_abs(ABS_GAS); break; | ||
141 | case 0xc5: map_abs(ABS_BRAKE); break; | ||
142 | case 0xc8: map_abs(ABS_WHEEL); break; | ||
140 | default: goto ignore; | 143 | default: goto ignore; |
141 | } | 144 | } |
142 | break; | 145 | break; |