projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4832a4d
)
HID: logitech-dj: extend consumer usages range
author
Olivier Gay
<ogay@logitech.com>
Mon, 29 Jul 2019 17:21:52 +0000
(19:21 +0200)
committer
Jiri Kosina
<jkosina@suse.cz>
Mon, 5 Aug 2019 12:22:56 +0000
(14:22 +0200)
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 <ogay@logitech.com>
Tested-by: Benson Leung <bleung@chromium.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-logitech-dj.c
patch
|
blob
|
history
diff --git
a/drivers/hid/hid-logitech-dj.c
b/drivers/hid/hid-logitech-dj.c
index 6196217a7d936c6371743354619c3564cd9e0c69..0e058ddb8e1c9018cc9b31eab85990e6c1daf9fe 100644
(file)
--- a/
drivers/hid/hid-logitech-dj.c
+++ b/
drivers/hid/hid-logitech-dj.c
@@
-380,9
+380,9
@@
static const char consumer_descriptor[] = {
0x75, 0x10, /* REPORT_SIZE (16) */
0x95, 0x02, /* REPORT_COUNT (2) */
0x15, 0x01, /* LOGICAL_MIN (1) */
- 0x26, 0x
8C, 0x02, /* LOGICAL_MAX (652
) */
+ 0x26, 0x
FF, 0x02, /* LOGICAL_MAX (767
) */
0x19, 0x01, /* USAGE_MIN (1) */
- 0x2A, 0x
8C, 0x02, /* USAGE_MAX (652
) */
+ 0x2A, 0x
FF, 0x02, /* USAGE_MAX (767
) */
0x81, 0x00, /* INPUT (Data Ary Abs) */
0xC0, /* END_COLLECTION */
}; /* */