Skip to content

Commit 7101c30

Browse files
author
Nurrl
authored
Merge pull request #49 from nixu-corp/master
Added #define for CAPSLOCK key
2 parents 5dc52d3 + ba7a385 commit 7101c30

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/Digispark.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,8 @@ new Object({
269269
+ '#define KEY_HOME 0x4A\n'
270270
+ '#define KEY_INSERT 0x49\n'
271271
+ '#define KEY_NUM_LOCK 0x53\n'
272-
+ '#define KEY_SCROLL_LOCK 0x47\n'
272+
+ '#define KEY_SCROLL_LOCK 0x47\n'
273+
+ '#define KEY_CAPS_LOCK 0x39\n'
273274
+ '#define KEY_TAB 0x2B\n\n'
274275
+ 'void digiBegin() {\n'
275276
+ ' DigiKeyboard.sendKeyStroke(0,0);\n'

0 commit comments

Comments
 (0)