Skip to content

Commit

Permalink
Remove a duplicated loop for PLATFORM_DRM (#3590)
Browse files Browse the repository at this point in the history
  • Loading branch information
ubkp authored Dec 1, 2023
1 parent 55e7d1a commit 0748dc2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/platforms/rcore_drm.c
Original file line number Diff line number Diff line change
Expand Up @@ -546,9 +546,6 @@ void PollInputEvents(void)
CORE.Input.Keyboard.keyPressedQueueCount = 0;
CORE.Input.Keyboard.charPressedQueueCount = 0;

// Reset key repeats
for (int i = 0; i < MAX_KEYBOARD_KEYS; i++) CORE.Input.Keyboard.keyRepeatInFrame[i] = 0;

// Reset last gamepad button/axis registered state
CORE.Input.Gamepad.lastButtonPressed = 0; // GAMEPAD_BUTTON_UNKNOWN
//CORE.Input.Gamepad.axisCount = 0;
Expand Down

0 comments on commit 0748dc2

Please sign in to comment.