Skip to content

Commit ba85c2a

Browse files
authored
Merge pull request #25 from tswfi/extend_keyboard_to_115_keys_up_to_f20
Increase keyboard hid descriptor to 115, fixes #24
2 parents 50ac9cf + 828d2e0 commit ba85c2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

digistump-avr/libraries/DigisparkKeyboard/DigiKeyboard.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ const PROGMEM uchar usbHidReportDescriptor[USB_CFG_HID_REPORT_DESCRIPTOR_LENGTH]
4646
0x81, 0x02, // INPUT (Data,Var,Abs)
4747
0x95, 0x01, // REPORT_COUNT (simultaneous keystrokes)
4848
0x75, 0x08, // REPORT_SIZE (8)
49-
0x25, 0x65, // LOGICAL_MAXIMUM (101)
49+
0x25, 0x73, // LOGICAL_MAXIMUM (115)
5050
0x19, 0x00, // USAGE_MINIMUM (Reserved (no event indicated))
51-
0x29, 0x65, // USAGE_MAXIMUM (Keyboard Application)
51+
0x29, 0x73, // USAGE_MAXIMUM (Keyboard Application)
5252
0x81, 0x00, // INPUT (Data,Ary,Abs)
5353
0xc0 // END_COLLECTION
5454
};

0 commit comments

Comments
 (0)