Browse Source

Remove a duplicated loop for PLATFORM_DRM (#3590)

pull/3591/head
ubkp 1 year ago
committed by GitHub
parent
commit
0748dc2d1e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      src/platforms/rcore_drm.c

+ 0
- 3
src/platforms/rcore_drm.c View File

@ -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;

Loading…
Cancel
Save