[rcore] Fix IsMouseButtonUp()
for PLATFORM_WEB
and PLATFORM_DRM
(#3611)
* Fix IsMouseButtonUp() for PLATFORM_WEB * Fix IsMouseButtonUp() for PLATFORM_DRM
This commit is contained in:
parent
ab9bddb3bd
commit
a9ba51aa72
2 changed files with 2 additions and 0 deletions
|
@ -571,6 +571,7 @@ void PollInputEvents(void)
|
|||
{
|
||||
CORE.Input.Mouse.previousButtonState[i] = CORE.Input.Mouse.currentButtonState[i];
|
||||
CORE.Input.Mouse.currentButtonState[i] = platform.currentButtonStateEvdev[i];
|
||||
CORE.Input.Touch.currentTouchState[i] = platform.currentButtonStateEvdev[i];
|
||||
}
|
||||
|
||||
// Register gamepads buttons events
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue