mirror of
https://github.com/yawut/SDL.git
synced 2026-03-21 17:34:36 -05:00
input/wiiu: Clear last_touched after sending touch release event
This commit is contained in:
parent
73ba941733
commit
d58f563d65
|
|
@ -176,6 +176,7 @@ static void WIIU_JoystickUpdate(SDL_Joystick *joystick)
|
|||
SDL_SendTouch(0, 0, SDL_FALSE,
|
||||
(float) last_touch_x / 1280.0f,
|
||||
(float) last_touch_y / 720.0f, 1);
|
||||
last_touched = 0;
|
||||
}
|
||||
|
||||
/* axys */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user