mirror of
https://github.com/bradgrantham/apple2e.git
synced 2024-06-01 18:41:30 +00:00
Key repeat, fixes #21
This commit is contained in:
parent
ca376dab5a
commit
577a806799
|
@ -905,7 +905,7 @@ static void key(GLFWwindow *window, int key, int scancode, int action, int mods)
|
|||
event_queue.push_back({KEYDOWN, CAPS_LOCK});
|
||||
}
|
||||
|
||||
if(action == GLFW_PRESS) {
|
||||
if(action == GLFW_PRESS || action == GLFW_REPEAT ) {
|
||||
if(key == GLFW_KEY_RIGHT_SUPER || key == GLFW_KEY_LEFT_SUPER)
|
||||
super_down = true;
|
||||
else if(super_down && key == GLFW_KEY_V) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user