-
Notifications
You must be signed in to change notification settings - Fork 21
Closed
Labels
to doSome update necessary, critical or notSome update necessary, critical or not
Description
There is a new event called SDL_JOYBATTERYUPDATED, which provides information about a change in joystick battery status. Corrently undocumented, but exists in the sources (last):
/* Joystick events */
SDL_JOYAXISMOTION = 0x600, /**< Joystick axis motion */
SDL_JOYBALLMOTION, /**< Joystick trackball motion */
SDL_JOYHATMOTION, /**< Joystick hat position change */
SDL_JOYBUTTONDOWN, /**< Joystick button pressed */
SDL_JOYBUTTONUP, /**< Joystick button released */
SDL_JOYDEVICEADDED, /**< A new joystick has been inserted into the system */
SDL_JOYDEVICEREMOVED, /**< An opened joystick has been removed */
SDL_JOYBATTERYUPDATED, /**< Joystick battery level change */https://www.libsdl.org/tmp/SDL/include/SDL_events.h
It fits to keep an eye on it.
Metadata
Metadata
Assignees
Labels
to doSome update necessary, critical or notSome update necessary, critical or not