aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Sbarra <sbarra.paul@gmail.com>2013-02-17 12:53:14 -0500
committerJiri Kosina <jkosina@suse.cz>2013-02-19 07:51:32 -0500
commit5a9b571bacafffaff75f4f523c4479c85e83cb15 (patch)
tree3db8820987242cb6fd1f66c0f803a93ed24df25d
parent54bfe3f0dab2b2f0ac629690f187537d95adeb4f (diff)
HID: logitech: split accel, brake for Driving Force wheel
Signed-off-by: Paul Sbarra <sbarra.paul@gmail.com> Signed-off-by: Simon Wood <simon@mungewell.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r--drivers/hid/hid-lg.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/hid/hid-lg.c b/drivers/hid/hid-lg.c
index 6daa1927bf69..6bb7f059941a 100644
--- a/drivers/hid/hid-lg.c
+++ b/drivers/hid/hid-lg.c
@@ -81,7 +81,6 @@ static __u8 df_rdesc_fixed[] = {
810x09, 0x01, /* Usage (?: 1), */ 810x09, 0x01, /* Usage (?: 1), */
820x81, 0x02, /* Input (Variable), */ 820x81, 0x02, /* Input (Variable), */
830x05, 0x01, /* Usage Page (Desktop), */ 830x05, 0x01, /* Usage Page (Desktop), */
840x09, 0x31, /* Usage (Y), */
850x26, 0xFF, 0x00, /* Logical Maximum (255), */ 840x26, 0xFF, 0x00, /* Logical Maximum (255), */
860x46, 0xFF, 0x00, /* Physical Maximum (255), */ 850x46, 0xFF, 0x00, /* Physical Maximum (255), */
870x95, 0x01, /* Report Count (1), */ 860x95, 0x01, /* Report Count (1), */
@@ -101,11 +100,14 @@ static __u8 df_rdesc_fixed[] = {
1010x25, 0x01, /* Logical Maximum (1), */ 1000x25, 0x01, /* Logical Maximum (1), */
1020x45, 0x01, /* Physical Maximum (1), */ 1010x45, 0x01, /* Physical Maximum (1), */
1030x81, 0x02, /* Input (Variable), */ 1020x81, 0x02, /* Input (Variable), */
1040x95, 0x02, /* Report Count (2), */ 1030x05, 0x01, /* Usage Page (Desktop), */
1040x95, 0x01, /* Report Count (1), */
1050x75, 0x08, /* Report Size (8), */ 1050x75, 0x08, /* Report Size (8), */
1060x26, 0xFF, 0x00, /* Logical Maximum (255), */ 1060x26, 0xFF, 0x00, /* Logical Maximum (255), */
1070x46, 0xFF, 0x00, /* Physical Maximum (255), */ 1070x46, 0xFF, 0x00, /* Physical Maximum (255), */
1080x09, 0x02, /* Usage (?: 2), */ 1080x09, 0x31, /* Usage (Y), */
1090x81, 0x02, /* Input (Variable), */
1100x09, 0x35, /* Usage (Rz), */
1090x81, 0x02, /* Input (Variable), */ 1110x81, 0x02, /* Input (Variable), */
1100xC0, /* End Collection, */ 1120xC0, /* End Collection, */
1110xA1, 0x02, /* Collection (Logical), */ 1130xA1, 0x02, /* Collection (Logical), */