Fixed the joystick id usage in the joystick and game controller events.
This commit is contained in:
parent
c6dc8b64e7
commit
c02018f852
4 changed files with 46 additions and 27 deletions
|
@ -365,7 +365,7 @@ int
|
|||
SDL_PushEvent(SDL_Event * event)
|
||||
{
|
||||
SDL_EventWatcher *curr;
|
||||
event->window.timestamp = SDL_GetTicks();
|
||||
event->generic.timestamp = SDL_GetTicks();
|
||||
if (SDL_EventOK && !SDL_EventOK(SDL_EventOKParam, event)) {
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue