From: Dmitry Torokhov Date: Sat, 14 Jan 2006 05:27:51 +0000 (-0500) Subject: Input: HID - add more simulation usages X-Git-Tag: v2.6.16-rc1~169^2~2 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5fce9d7bc5f485358263cf3d895e90c974449e1f;p=linux-2.6 Input: HID - add more simulation usages Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/usb/input/hid-input.c b/drivers/usb/input/hid-input.c index 9e5a80bbd1..36a08c04c4 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 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;