Commit 5fce9d7b authored by Dmitry Torokhov's avatar Dmitry Torokhov

Input: HID - add more simulation usages

Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent f0d5c6f4
......@@ -137,6 +137,9 @@ static void hidinput_configure_usage(struct hid_input *hidinput, struct hid_fiel
switch (usage->hid & 0xffff) {
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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment