Skip to content
Snippets Groups Projects
Commit f474b6da authored by Camilla Löwy's avatar Camilla Löwy
Browse files

Wayland: Fix missing scancode for Space key

Fixes #936.
parent a578bc2f
No related branches found
No related tags found
No related merge requests found
...@@ -519,6 +519,7 @@ static void createKeyTables(void) ...@@ -519,6 +519,7 @@ static void createKeyTables(void)
_glfw.wl.keycodes[KEY_8] = GLFW_KEY_8; _glfw.wl.keycodes[KEY_8] = GLFW_KEY_8;
_glfw.wl.keycodes[KEY_9] = GLFW_KEY_9; _glfw.wl.keycodes[KEY_9] = GLFW_KEY_9;
_glfw.wl.keycodes[KEY_0] = GLFW_KEY_0; _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_MINUS] = GLFW_KEY_MINUS;
_glfw.wl.keycodes[KEY_EQUAL] = GLFW_KEY_EQUAL; _glfw.wl.keycodes[KEY_EQUAL] = GLFW_KEY_EQUAL;
_glfw.wl.keycodes[KEY_Q] = GLFW_KEY_Q; _glfw.wl.keycodes[KEY_Q] = GLFW_KEY_Q;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment