From 87adb5b6de11a016af38774e8e7dd7647e4a960c Mon Sep 17 00:00:00 2001 From: Nickolas McDonald <43690021+n77y@users.noreply.github.com> Date: Sun, 20 Aug 2023 19:01:31 -0400 Subject: [PATCH] Update rcore.c --- src/rcore.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/rcore.c b/src/rcore.c index faf8268e8..f37b87dfd 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -6513,7 +6513,11 @@ static void InitEvdevInput(void) } // Reset keyboard key state - for (int i = 0; i < MAX_KEYBOARD_KEYS; i++) CORE.Input.Keyboard.currentKeyState[i] = 0; + for (int i = 0; i < MAX_KEYBOARD_KEYS; i++) + { + CORE.Input.Keyboard.currentKeyState[i] = 0; + CORE.Input.Keyboard.keyRepeatInFrame[i] = 0; + } // Open the linux directory of "/dev/input" directory = opendir(DEFAULT_EVDEV_PATH);