mirror of
https://github.com/bradgrantham/apple2e.git
synced 2025-01-17 03:29:52 +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…
x
Reference in New Issue
Block a user