fixed keymapping

This commit is contained in:
Devaev Maxim
2018-07-11 06:30:47 +00:00
parent 08a36a1fe0
commit f0c78e966e
5 changed files with 8 additions and 6 deletions

View File

@@ -19,7 +19,7 @@ INLINE void cmdResetHid() {
INLINE void cmdKeyEvent() {
uint8_t state = CMD_SERIAL.read();
uint8_t code = keymap(CMD_SERIAL.read());
KeyboardKeycode code = keymap((uint8_t)CMD_SERIAL.read());
CMD_SERIAL.read(); // unused now
if (code) {
if (state) {