Update rcore.c

This commit is contained in:
Nickolas McDonald 2023-08-20 19:02:47 -04:00
parent 87adb5b6de
commit 3439f5df09

View File

@ -6514,10 +6514,10 @@ static void InitEvdevInput(void)
// Reset keyboard key state // Reset keyboard key state
for (int i = 0; i < MAX_KEYBOARD_KEYS; i++) for (int i = 0; i < MAX_KEYBOARD_KEYS; i++)
{ {
CORE.Input.Keyboard.currentKeyState[i] = 0; CORE.Input.Keyboard.currentKeyState[i] = 0;
CORE.Input.Keyboard.keyRepeatInFrame[i] = 0; CORE.Input.Keyboard.keyRepeatInFrame[i] = 0;
} }
// Open the linux directory of "/dev/input" // Open the linux directory of "/dev/input"
directory = opendir(DEFAULT_EVDEV_PATH); directory = opendir(DEFAULT_EVDEV_PATH);