SDL 3.0
|
Joysick battery level change event structure (event.jbattery.*) More...
#include <SDL_events.h>
Data Fields | |
Uint32 | type |
Uint64 | timestamp |
SDL_JoystickID | which |
SDL_JoystickPowerLevel | level |
Joysick battery level change event structure (event.jbattery.*)
Definition at line 409 of file SDL_events.h.
SDL_JoystickPowerLevel SDL_JoyBatteryEvent::level |
The joystick battery level
Definition at line 414 of file SDL_events.h.
Uint64 SDL_JoyBatteryEvent::timestamp |
In nanoseconds, populated using SDL_GetTicksNS()
Definition at line 412 of file SDL_events.h.
Uint32 SDL_JoyBatteryEvent::type |
SDL_EVENT_JOYSTICK_BATTERY_UPDATED
Definition at line 411 of file SDL_events.h.
SDL_JoystickID SDL_JoyBatteryEvent::which |
The joystick instance id
Definition at line 413 of file SDL_events.h.