mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-02 16:08:30 +00:00
SDL_EventFilter functions now return SDL_bool
This commit is contained in:
@@ -363,7 +363,7 @@ static void SDL_PrivateGamepadRemapped(SDL_JoystickID instance_id)
|
||||
/*
|
||||
* Event filter to fire gamepad events from joystick ones
|
||||
*/
|
||||
static int SDLCALL SDL_GamepadEventWatcher(void *userdata, SDL_Event *event)
|
||||
static SDL_bool SDLCALL SDL_GamepadEventWatcher(void *userdata, SDL_Event *event)
|
||||
{
|
||||
SDL_Gamepad *gamepad;
|
||||
|
||||
@@ -422,7 +422,7 @@ static int SDLCALL SDL_GamepadEventWatcher(void *userdata, SDL_Event *event)
|
||||
break;
|
||||
}
|
||||
|
||||
return 1;
|
||||
return SDL_TRUE;
|
||||
}
|
||||
|
||||
/* SDL defines sensor orientation relative to the device natural
|
||||
|
Reference in New Issue
Block a user