mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-30 16:37:39 +00:00
Separate joystick power state into battery status and percentage
This allows you to see battery percentage while the controller is charging
This commit is contained in:
parent
5e624c2083
commit
8847b35244
42 changed files with 596 additions and 1001 deletions
|
@ -232,6 +232,7 @@ SDL3_0.0.0 {
|
|||
SDL_GetGamepadButtonFromString;
|
||||
SDL_GetGamepadButtonLabel;
|
||||
SDL_GetGamepadButtonLabelForType;
|
||||
SDL_GetGamepadConnectionState;
|
||||
SDL_GetGamepadFirmwareVersion;
|
||||
SDL_GetGamepadFromInstanceID;
|
||||
SDL_GetGamepadFromPlayerIndex;
|
||||
|
@ -252,7 +253,7 @@ SDL3_0.0.0 {
|
|||
SDL_GetGamepadName;
|
||||
SDL_GetGamepadPath;
|
||||
SDL_GetGamepadPlayerIndex;
|
||||
SDL_GetGamepadPowerLevel;
|
||||
SDL_GetGamepadPowerInfo;
|
||||
SDL_GetGamepadProduct;
|
||||
SDL_GetGamepadProductVersion;
|
||||
SDL_GetGamepadProperties;
|
||||
|
@ -287,6 +288,7 @@ SDL3_0.0.0 {
|
|||
SDL_GetJoystickAxisInitialState;
|
||||
SDL_GetJoystickBall;
|
||||
SDL_GetJoystickButton;
|
||||
SDL_GetJoystickConnectionState;
|
||||
SDL_GetJoystickFirmwareVersion;
|
||||
SDL_GetJoystickFromInstanceID;
|
||||
SDL_GetJoystickFromPlayerIndex;
|
||||
|
@ -307,7 +309,7 @@ SDL3_0.0.0 {
|
|||
SDL_GetJoystickName;
|
||||
SDL_GetJoystickPath;
|
||||
SDL_GetJoystickPlayerIndex;
|
||||
SDL_GetJoystickPowerLevel;
|
||||
SDL_GetJoystickPowerInfo;
|
||||
SDL_GetJoystickProduct;
|
||||
SDL_GetJoystickProductVersion;
|
||||
SDL_GetJoystickProperties;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue