Browse Source

Update rcore_drm.c

pull/5247/head
ASHWIN 1 day ago
committed by GitHub
parent
commit
58363eefe0
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 9 deletions
  1. +1
    -9
      src/platforms/rcore_drm.c

+ 1
- 9
src/platforms/rcore_drm.c View File

@ -1072,15 +1072,7 @@ const char *GetKeyName(int key)
TRACELOG(LOG_WARNING, "GetKeyName() not implemented on target platform");
return "";
}
// Register all input events
void PollInputEvents(void)
{
CORE.Input.Touch.pointCount = 0; // <-- ADD THIS LINE HERE
// ... the rest of the original code follows
}
CORE.Input.Touch.pointCount = 0;
{
#if defined(SUPPORT_GESTURES_SYSTEM)
// NOTE: Gestures update must be called every frame to reset gestures correctly

Loading…
Cancel
Save