mirror of
https://github.com/encounter/SDL.git
synced 2025-05-21 23:01:35 +00:00
Add SDL_JOYBATTERYUPDATED event to SDL_JoystickEventState()
This commit is contained in:
parent
b72cf207fb
commit
c6c688ab01
@ -1743,7 +1743,8 @@ SDL_JoystickEventState(int state)
|
|||||||
#else
|
#else
|
||||||
const Uint32 event_list[] = {
|
const Uint32 event_list[] = {
|
||||||
SDL_JOYAXISMOTION, SDL_JOYBALLMOTION, SDL_JOYHATMOTION,
|
SDL_JOYAXISMOTION, SDL_JOYBALLMOTION, SDL_JOYHATMOTION,
|
||||||
SDL_JOYBUTTONDOWN, SDL_JOYBUTTONUP, SDL_JOYDEVICEADDED, SDL_JOYDEVICEREMOVED
|
SDL_JOYBUTTONDOWN, SDL_JOYBUTTONUP, SDL_JOYDEVICEADDED, SDL_JOYDEVICEREMOVED,
|
||||||
|
SDL_JOYBATTERYUPDATED
|
||||||
};
|
};
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user