Merge pull request #2764 from larsks/bug/max-keycode
Fix maximum keycode in keyboard HID descriptor
This commit is contained in:
commit
76f3aa4766
@ -68,9 +68,9 @@ def keyboard_hid_descriptor(report_id):
|
||||
0x81, 0x02, # Input (Data, Variable, Absolute)
|
||||
0x81, 0x01, # Input (Constant)
|
||||
0x19, 0x00, # Usage Minimum (0)
|
||||
0x29, 101, # Usage Maximum (101)
|
||||
0x29, 0xDD, # Usage Maximum (221)
|
||||
0x15, 0x00, # Logical Minimum (0)
|
||||
0x25, 101, # Logical Maximum (101)
|
||||
0x25, 0xDD, # Logical Maximum (221)
|
||||
0x75, 0x08, # Report Size (8)
|
||||
0x95, 0x06, # Report Count (6)
|
||||
0x81, 0x00, # Input (Data, Array)
|
||||
|
Loading…
x
Reference in New Issue
Block a user