Skip to content

Commit 4635a90

Browse files
committed
small fix in v0.2
1 parent 5968ac0 commit 4635a90

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Code V0.1/Arduino Files/readsettings.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,9 @@ char getCommandCode(String text) {
135135
char code = textCharacters[0];
136136

137137
code = (text == "KEY_LEFT_CTRL") ? KEY_LEFT_CTRL : code;
138-
code = (text == "KEY_CMD") ? KEY_LEFT_ALT : code;
138+
code = (text == "KEY_CMD") ? KEY_LEFT_GUI : code;
139139
code = (text == "KEY_LEFT_GUI") ? KEY_LEFT_GUI : code;
140-
code = (text == "KEY_OPT") ? KEY_LEFT_GUI : code;
140+
code = (text == "KEY_OPT") ? KEY_LEFT_ALT : code;
141141
code = (text == "KEY_LEFT_SHIFT") ? KEY_LEFT_SHIFT : code;
142142
code = (text == "KEY_LEFT_ALT") ? KEY_LEFT_ALT : code;
143143
code = (text == "KEY_UP_ARROW") ? KEY_UP_ARROW : code;
Binary file not shown.

0 commit comments

Comments
 (0)