Skip to content

Commit 5b6cc12

Browse files
ogayJiri Kosina
authored andcommitted
HID: logitech-dj: extend consumer usages range
Extend the range of usage codes in the consumer page descriptor of the driver. Some Logitech HID devices send usages in that upper range. Signed-off-by: Olivier Gay <[email protected]> Tested-by: Benson Leung <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent 4832a4d commit 5b6cc12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/hid/hid-logitech-dj.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,9 +380,9 @@ static const char consumer_descriptor[] = {
380380
0x75, 0x10, /* REPORT_SIZE (16) */
381381
0x95, 0x02, /* REPORT_COUNT (2) */
382382
0x15, 0x01, /* LOGICAL_MIN (1) */
383-
0x26, 0x8C, 0x02, /* LOGICAL_MAX (652) */
383+
0x26, 0xFF, 0x02, /* LOGICAL_MAX (767) */
384384
0x19, 0x01, /* USAGE_MIN (1) */
385-
0x2A, 0x8C, 0x02, /* USAGE_MAX (652) */
385+
0x2A, 0xFF, 0x02, /* USAGE_MAX (767) */
386386
0x81, 0x00, /* INPUT (Data Ary Abs) */
387387
0xC0, /* END_COLLECTION */
388388
}; /* */

0 commit comments

Comments
 (0)