From a578bc2fad8349529851488616a88591c145f0f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Camilla=20L=C3=B6wy?= Date: Thu, 26 Jan 2017 16:59:59 +0100 Subject: [PATCH] Mir: Fix missing scancode for Space key Related to #936. --- src/mir_init.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mir_init.c b/src/mir_init.c index 29a7cfef..a7b5846f 100644 --- a/src/mir_init.c +++ b/src/mir_init.c @@ -51,6 +51,7 @@ static void createKeyTables(void) _glfw.mir.keycodes[KEY_8] = GLFW_KEY_8; _glfw.mir.keycodes[KEY_9] = GLFW_KEY_9; _glfw.mir.keycodes[KEY_0] = GLFW_KEY_0; + _glfw.mir.keycodes[KEY_SPACE] = GLFW_KEY_SPACE; _glfw.mir.keycodes[KEY_MINUS] = GLFW_KEY_MINUS; _glfw.mir.keycodes[KEY_EQUAL] = GLFW_KEY_EQUAL; _glfw.mir.keycodes[KEY_Q] = GLFW_KEY_Q;