diff options
| author | Drashna Jaelre <drashna@live.com> | 2018-12-10 20:22:51 -0800 |
|---|---|---|
| committer | skullydazed <skullydazed@users.noreply.github.com> | 2019-04-12 13:55:59 -0700 |
| commit | c27d96b4c1ed8aa5bf9cad20380b8f723b149a83 (patch) | |
| tree | 6d5e7e789edef074bd6e0bfc547585b7e85b8662 /tmk_core/protocol | |
| parent | 0ee4206bd07abd884f13819d782c72f2e6baa071 (diff) | |
| download | qmk_firmware-c27d96b4c1ed8aa5bf9cad20380b8f723b149a83.tar.gz qmk_firmware-c27d96b4c1ed8aa5bf9cad20380b8f723b149a83.zip | |
Fix ATSAM's USB HID descriptor to support higher heycodes
Assuming I understand this correctly, this should set the max scancode to E7 (RGUI), which is the last listed code in the main list (everything else use for internal QMK/TMK stuff).
Diffstat (limited to 'tmk_core/protocol')
| -rw-r--r-- | tmk_core/protocol/arm_atsam/usb/udi_hid_kbd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tmk_core/protocol/arm_atsam/usb/udi_hid_kbd.c b/tmk_core/protocol/arm_atsam/usb/udi_hid_kbd.c index c263ac4aa..467a284a4 100644 --- a/tmk_core/protocol/arm_atsam/usb/udi_hid_kbd.c +++ b/tmk_core/protocol/arm_atsam/usb/udi_hid_kbd.c | |||
| @@ -109,9 +109,9 @@ UDC_DESC_STORAGE udi_hid_kbd_report_desc_t udi_hid_kbd_report_desc = { | |||
| 109 | 0x81, 0x02, // Input (Data, Variable, Absolute) | 109 | 0x81, 0x02, // Input (Data, Variable, Absolute) |
| 110 | 0x81, 0x01, // Input (Constant) | 110 | 0x81, 0x01, // Input (Constant) |
| 111 | 0x19, 0x00, // Usage Minimum (0) | 111 | 0x19, 0x00, // Usage Minimum (0) |
| 112 | 0x29, 0x65, // Usage Maximum (101) | 112 | 0x29, 0xE7, // Usage Maximum (231) |
| 113 | 0x15, 0x00, // Logical Minimum (0) | 113 | 0x15, 0x00, // Logical Minimum (0) |
| 114 | 0x25, 0x65, // Logical Maximum (101) | 114 | 0x25, 0xE7, // Logical Maximum (231) |
| 115 | 0x75, 0x08, // Report Size (8) | 115 | 0x75, 0x08, // Report Size (8) |
| 116 | 0x95, 0x06, // Report Count (6) | 116 | 0x95, 0x06, // Report Count (6) |
| 117 | 0x81, 0x00, // Input (Data, Array) | 117 | 0x81, 0x00, // Input (Data, Array) |
