Wayland: Fix missing scancode for Space key

Fixes #936.
This commit is contained in:
Camilla Löwy 2017-01-26 17:00:57 +01:00
parent a578bc2fad
commit f474b6da85

View File

@ -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;