From f474b6da854a07928d1206176dd0540033f5d3ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Camilla=20L=C3=B6wy?= Date: Thu, 26 Jan 2017 17:00:57 +0100 Subject: [PATCH] Wayland: Fix missing scancode for Space key Fixes #936. --- src/wl_init.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wl_init.c b/src/wl_init.c index cbfca5d0..58a265a0 100644 --- a/src/wl_init.c +++ b/src/wl_init.c @@ -519,6 +519,7 @@ static void createKeyTables(void) _glfw.wl.keycodes[KEY_8] = GLFW_KEY_8; _glfw.wl.keycodes[KEY_9] = GLFW_KEY_9; _glfw.wl.keycodes[KEY_0] = GLFW_KEY_0; + _glfw.wl.keycodes[KEY_SPACE] = GLFW_KEY_SPACE; _glfw.wl.keycodes[KEY_MINUS] = GLFW_KEY_MINUS; _glfw.wl.keycodes[KEY_EQUAL] = GLFW_KEY_EQUAL; _glfw.wl.keycodes[KEY_Q] = GLFW_KEY_Q;