mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-30 01:21:54 +08:00
fixed keymapping
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user