Skip to content

Commit 2259b5b

Browse files
mungewellJiri Kosina
authored andcommitted
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 <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent 67db8a8 commit 2259b5b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

drivers/hid/hid-sony.c

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,14 @@ static __u8 navigation_rdesc[] = {
296296
0x09, 0x01, /* Usage (Pointer), */
297297
0x81, 0x02, /* Input (Variable), */
298298
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), */
300307
0x81, 0x02, /* Input (Variable), */
301308
0x75, 0x08, /* Report Size (8), */
302309
0x95, 0x30, /* Report Count (48), */

0 commit comments

Comments
 (0)