8000 Merge pull request #2764 from larsks/bug/max-keycode · adafruit/circuitpython@76f3aa4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 76f3aa4

Browse files
authored
Merge pull request #2764 from larsks/bug/max-keycode
Fix maximum keycode in keyboard HID descriptor
2 parents a4c86e1 + 8797e33 commit 76f3aa4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/hid_report_descriptors.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ def keyboard_hid_descriptor(report_id):
6868
0x81, 0x02, # Input (Data, Variable, Absolute)
6969
0x81, 0x01, # Input (Constant)
7070
0x19, 0x00, # Usage Minimum (0)
71-
0x29, 101, # Usage Maximum (101)
71+
0x29, 0xDD, # Usage Maximum (221)
7272
0x15, 0x00, # Logical Minimum (0)
73-
0x25, 101, # Logical Maximum (101)
73+
0x25, 0xDD, # Logical Maximum (221)
7474
0x75, 0x08, # Report Size (8)
7575
0x95, 0x06, # Report Count (6)
7676
0x81, 0x00, # Input (Data, Array)

0 commit comments

Comments
 (0)
0