Skip to content

Commit 7aea379

Browse files
authored
add missed keys
Hi, I've added some missed keys that are important in HID scenarios. Previously I've proposed those changes in deprecated repo of this software and it wasn't applied in current repository as well. Reference: digistump/DigisparkArduinoIntegration#13
1 parent 111396f commit 7aea379

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

digistump-avr/libraries/DigisparkKeyboard/DigiKeyboard.h

+6-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,9 @@ const PROGMEM char usbHidReportDescriptor[USB_CFG_HID_REPORT_DESCRIPTOR_LENGTH]
110110
#define KEY_0 39
111111

112112
#define KEY_ENTER 40
113-
113+
#define KEY_ESC 41
114+
#define KEY_BACKSPACE 42
115+
#define KEY_TAB 43
114116
#define KEY_SPACE 44
115117

116118
#define KEY_F1 58
@@ -126,6 +128,9 @@ const PROGMEM char usbHidReportDescriptor[USB_CFG_HID_REPORT_DESCRIPTOR_LENGTH]
126128
#define KEY_F11 68
127129
#define KEY_F12 69
128130

131+
#define KEY_PRT_SCR 70
132+
#define KEY_DELETE 76
133+
129134
#define KEY_ARROW_UP 82
130135
#define KEY_ARROW_DOWN 81
131136
#define KEY_ARROW_LEFT 80

0 commit comments

Comments
 (0)