mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
Input: HID - add more simulation usages
Signed-off-by: Dmitry Torokhov <[email protected]>
This commit is contained in:
1 parent
f0d5c6f419
commit
5fce9d7bc5
1 file changed
+4
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user