[olympic/turbine/glfw] Add shift key support
This commit is contained in:
parent
b35a956e4f
commit
ffbdb09c31
@ -54,6 +54,8 @@ static void handleKeyPress(Context &ctx, int key, bool down) noexcept {
|
|||||||
map[GLFW_KEY_RIGHT_CONTROL] = Key::Mod_Ctrl;
|
map[GLFW_KEY_RIGHT_CONTROL] = Key::Mod_Ctrl;
|
||||||
map[GLFW_KEY_LEFT_SUPER] = Key::Mod_Super;
|
map[GLFW_KEY_LEFT_SUPER] = Key::Mod_Super;
|
||||||
map[GLFW_KEY_RIGHT_SUPER] = Key::Mod_Super;
|
map[GLFW_KEY_RIGHT_SUPER] = Key::Mod_Super;
|
||||||
|
map[GLFW_KEY_LEFT_SHIFT] = Key::Mod_Shift;
|
||||||
|
map[GLFW_KEY_RIGHT_SHIFT] = Key::Mod_Shift;
|
||||||
map[GLFW_KEY_ESCAPE] = Key::Escape;
|
map[GLFW_KEY_ESCAPE] = Key::Escape;
|
||||||
return map;
|
return map;
|
||||||
}();
|
}();
|
||||||
|
Loading…
Reference in New Issue
Block a user