mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-24 03:58:28 +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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user