aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Wood <simon@mungewell.org>2015-07-10 02:10:21 -0400
committerJiri Kosina <jkosina@suse.com>2015-07-13 07:27:31 -0400
commit2259b5bbaac847f9f322659953966ebb53cfd9bc (patch)
tree69a5d713ab6f126c5ab7dddc7213357e80daad7f
parent67db8a8086e9b865533348954f5547f1e433101e (diff)
HID: sony: Navigator Axis for L1 button
Patch HID report descriptor to add joystick axis for the L1 button (previously missing). Signed-off-by: Simon Wood <simon@mungewell.org> Signed-off-by: Jiri Kosina <jkosina@suse.com>
-rw-r--r--drivers/hid/hid-sony.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/hid/hid-sony.c b/drivers/hid/hid-sony.c
index ed2f008f8403..69586b316409 100644
--- a/drivers/hid/hid-sony.c
+++ b/drivers/hid/hid-sony.c
@@ -296,7 +296,14 @@ static __u8 navigation_rdesc[] = {
296 0x09, 0x01, /* Usage (Pointer), */ 296 0x09, 0x01, /* Usage (Pointer), */
297 0x81, 0x02, /* Input (Variable), */ 297 0x81, 0x02, /* Input (Variable), */
298 0x06, 0x00, 0xFF, /* Usage Page (FF00h), */ 298 0x06, 0x00, 0xFF, /* Usage Page (FF00h), */
299 0x95, 0x20, /* Report Count (26), */ 299 0x95, 0x01, /* Report Count (1), */
300 0x81, 0x02, /* Input (Variable), */
301 0x05, 0x01, /* Usage Page (Desktop), */
302 0x95, 0x01, /* Report Count (1), */
303 0x09, 0x01, /* Usage (Pointer), */
304 0x81, 0x02, /* Input (Variable), */
305 0x06, 0x00, 0xFF, /* Usage Page (FF00h), */
306 0x95, 0x1E, /* Report Count (24), */
300 0x81, 0x02, /* Input (Variable), */ 307 0x81, 0x02, /* Input (Variable), */
301 0x75, 0x08, /* Report Size (8), */ 308 0x75, 0x08, /* Report Size (8), */
302 0x95, 0x30, /* Report Count (48), */ 309 0x95, 0x30, /* Report Count (48), */