Mir: Fix missing scancode for Space key

Related to #936.
This commit is contained in:
Camilla Löwy 2017-01-26 16:59:59 +01:00
parent 5a11d19940
commit a578bc2fad

View File

@ -51,6 +51,7 @@ static void createKeyTables(void)
_glfw.mir.keycodes[KEY_8] = GLFW_KEY_8; _glfw.mir.keycodes[KEY_8] = GLFW_KEY_8;
_glfw.mir.keycodes[KEY_9] = GLFW_KEY_9; _glfw.mir.keycodes[KEY_9] = GLFW_KEY_9;
_glfw.mir.keycodes[KEY_0] = GLFW_KEY_0; _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_MINUS] = GLFW_KEY_MINUS;
_glfw.mir.keycodes[KEY_EQUAL] = GLFW_KEY_EQUAL; _glfw.mir.keycodes[KEY_EQUAL] = GLFW_KEY_EQUAL;
_glfw.mir.keycodes[KEY_Q] = GLFW_KEY_Q; _glfw.mir.keycodes[KEY_Q] = GLFW_KEY_Q;