From 1c8487c77aff70d5fae05401125cd358562b0116 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Sat, 28 Jan 2017 12:42:01 +0100 Subject: [PATCH] Adjust hexToKey for the keyCode/flags swap in Key For some reason, I missed this before - correcting now. Signed-off-by: Gergely Nagy --- src/Akela/Unicode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Akela/Unicode.cpp b/src/Akela/Unicode.cpp index 0cc64c16..6dadf5f5 100644 --- a/src/Akela/Unicode.cpp +++ b/src/Akela/Unicode.cpp @@ -157,7 +157,7 @@ hexToKey (uint8_t hex) { m = Key_A.keyCode + (hex - 0xA); } - return { KEY_FLAGS, m}; + return { m, KEY_FLAGS }; } __attribute__((weak))