From 2b8b0e77d420245ed6828d8338253170fa3eb941 Mon Sep 17 00:00:00 2001 From: rxi Date: Sat, 24 Sep 2016 19:53:42 +0100 Subject: [PATCH] Fixed scancodeMap key strings for `f12` and `space` --- src/keyboard.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/keyboard.c b/src/keyboard.c index 7a92306..e336582 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -141,7 +141,7 @@ const char *scancodeMap[] = { [ 54] = "rshift", [ 55] = "*", [ 56] = "lalt", - [ 57] = " ", + [ 57] = "space", [ 58] = "capslock", [ 59] = "f1", [ 60] = "f2", @@ -172,7 +172,7 @@ const char *scancodeMap[] = { [ 85] = "?", [ 86] = "?", [ 87] = "?", - [ 88] = "?", + [ 88] = "f12", [ 89] = "?", [ 90] = "?", [ 91] = "?",