diff options
author | Paul Sbarra <sbarra.paul@gmail.com> | 2013-02-17 12:53:14 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2013-02-19 07:51:32 -0500 |
commit | 5a9b571bacafffaff75f4f523c4479c85e83cb15 (patch) | |
tree | 3db8820987242cb6fd1f66c0f803a93ed24df25d | |
parent | 54bfe3f0dab2b2f0ac629690f187537d95adeb4f (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.c | 8 |
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[] = { | |||
81 | 0x09, 0x01, /* Usage (?: 1), */ | 81 | 0x09, 0x01, /* Usage (?: 1), */ |
82 | 0x81, 0x02, /* Input (Variable), */ | 82 | 0x81, 0x02, /* Input (Variable), */ |
83 | 0x05, 0x01, /* Usage Page (Desktop), */ | 83 | 0x05, 0x01, /* Usage Page (Desktop), */ |
84 | 0x09, 0x31, /* Usage (Y), */ | ||
85 | 0x26, 0xFF, 0x00, /* Logical Maximum (255), */ | 84 | 0x26, 0xFF, 0x00, /* Logical Maximum (255), */ |
86 | 0x46, 0xFF, 0x00, /* Physical Maximum (255), */ | 85 | 0x46, 0xFF, 0x00, /* Physical Maximum (255), */ |
87 | 0x95, 0x01, /* Report Count (1), */ | 86 | 0x95, 0x01, /* Report Count (1), */ |
@@ -101,11 +100,14 @@ static __u8 df_rdesc_fixed[] = { | |||
101 | 0x25, 0x01, /* Logical Maximum (1), */ | 100 | 0x25, 0x01, /* Logical Maximum (1), */ |
102 | 0x45, 0x01, /* Physical Maximum (1), */ | 101 | 0x45, 0x01, /* Physical Maximum (1), */ |
103 | 0x81, 0x02, /* Input (Variable), */ | 102 | 0x81, 0x02, /* Input (Variable), */ |
104 | 0x95, 0x02, /* Report Count (2), */ | 103 | 0x05, 0x01, /* Usage Page (Desktop), */ |
104 | 0x95, 0x01, /* Report Count (1), */ | ||
105 | 0x75, 0x08, /* Report Size (8), */ | 105 | 0x75, 0x08, /* Report Size (8), */ |
106 | 0x26, 0xFF, 0x00, /* Logical Maximum (255), */ | 106 | 0x26, 0xFF, 0x00, /* Logical Maximum (255), */ |
107 | 0x46, 0xFF, 0x00, /* Physical Maximum (255), */ | 107 | 0x46, 0xFF, 0x00, /* Physical Maximum (255), */ |
108 | 0x09, 0x02, /* Usage (?: 2), */ | 108 | 0x09, 0x31, /* Usage (Y), */ |
109 | 0x81, 0x02, /* Input (Variable), */ | ||
110 | 0x09, 0x35, /* Usage (Rz), */ | ||
109 | 0x81, 0x02, /* Input (Variable), */ | 111 | 0x81, 0x02, /* Input (Variable), */ |
110 | 0xC0, /* End Collection, */ | 112 | 0xC0, /* End Collection, */ |
111 | 0xA1, 0x02, /* Collection (Logical), */ | 113 | 0xA1, 0x02, /* Collection (Logical), */ |