projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0d5c6f
)
Input: HID - add more simulation usages
author
Dmitry Torokhov
<dtor_core@ameritech.net>
Sat, 14 Jan 2006 05:27:51 +0000
(
00:27
-0500)
committer
Dmitry Torokhov
<dtor_core@ameritech.net>
Sat, 14 Jan 2006 05:27:51 +0000
(
00:27
-0500)
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/usb/input/hid-input.c
patch
|
blob
|
history
diff --git
a/drivers/usb/input/hid-input.c
b/drivers/usb/input/hid-input.c
index 9e5a80bbd16f16eb479b7b13742dea8d279ed9ea..36a08c04c460b99fc64fda3d14c7465e2776b426 100644
(file)
--- 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
case HID_UP_SIMULATION:
switch (usage->hid & 0xffff) {
- case 0xba: map_abs(ABS_RUDDER); break;
+ case 0xba: map_abs(ABS_RUDDER);
break;
case 0xbb: map_abs(ABS_THROTTLE); break;
+ case 0xc4: map_abs(ABS_GAS); break;
+ case 0xc5: map_abs(ABS_BRAKE); break;
+ case 0xc8: map_abs(ABS_WHEEL); break;
default: goto ignore;
}
break;