diff options
| author | Dan Halbert <halbert@adafruit.com> | 2020-04-11 10:49:39 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-11 10:49:39 -0400 |
| commit | 76f3aa47665ba8d8ae59aacf3b7d28d54af682c7 (patch) | |
| tree | afb2ba7c7ebb64769fad16bacc89b264d20e5a13 | |
| parent | a4c86e1e12327ebb2ae505994d468f4bfa080746 (diff) | |
| parent | 8797e3347f892d39880f4f92967b1fd664ca5dbe (diff) | |
Merge pull request #2764 from larsks/bug/max-keycode
Fix maximum keycode in keyboard HID descriptor
| -rw-r--r-- | tools/hid_report_descriptors.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/hid_report_descriptors.py b/tools/hid_report_descriptors.py index 92c962d59..07ed26744 100644 --- a/tools/hid_report_descriptors.py +++ b/tools/hid_report_descriptors.py @@ -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) |
