Adjust hexToKey for the keyCode/flags swap in Key

For some reason, I missed this before - correcting now.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
pull/389/head
Gergely Nagy 8 years ago
parent 7500cef6c0
commit 1c8487c77a

@ -157,7 +157,7 @@ hexToKey (uint8_t hex) {
m = Key_A.keyCode + (hex - 0xA);
}
return { KEY_FLAGS, m};
return { m, KEY_FLAGS };
}
__attribute__((weak))

Loading…
Cancel
Save