mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-03 16:36:25 +00:00
Renamed SDL_GetGamepadNumTouchpads and SDL_GetGamepadNumTouchpadFingers to match the new convention
This commit is contained in:
@@ -199,8 +199,8 @@ SDL3_0.0.0 {
|
||||
SDL_GetGamepadMappingForGUID;
|
||||
SDL_GetGamepadMappingForIndex;
|
||||
SDL_GetGamepadName;
|
||||
SDL_GetGamepadNumTouchpadFingers;
|
||||
SDL_GetGamepadNumTouchpads;
|
||||
SDL_GetNumGamepadTouchpadFingers;
|
||||
SDL_GetNumGamepadTouchpads;
|
||||
SDL_GetGamepadPath;
|
||||
SDL_GetGamepadPlayerIndex;
|
||||
SDL_GetGamepadProduct;
|
||||
|
@@ -224,8 +224,8 @@
|
||||
#define SDL_GetGamepadMappingForGUID SDL_GetGamepadMappingForGUID_REAL
|
||||
#define SDL_GetGamepadMappingForIndex SDL_GetGamepadMappingForIndex_REAL
|
||||
#define SDL_GetGamepadName SDL_GetGamepadName_REAL
|
||||
#define SDL_GetGamepadNumTouchpadFingers SDL_GetGamepadNumTouchpadFingers_REAL
|
||||
#define SDL_GetGamepadNumTouchpads SDL_GetGamepadNumTouchpads_REAL
|
||||
#define SDL_GetNumGamepadTouchpadFingers SDL_GetGamepadNumTouchpadFingers_REAL
|
||||
#define SDL_GetNumGamepadTouchpads SDL_GetGamepadNumTouchpads_REAL
|
||||
#define SDL_GetGamepadPath SDL_GetGamepadPath_REAL
|
||||
#define SDL_GetGamepadPlayerIndex SDL_GetGamepadPlayerIndex_REAL
|
||||
#define SDL_GetGamepadProduct SDL_GetGamepadProduct_REAL
|
||||
|
@@ -298,8 +298,8 @@ SDL_DYNAPI_PROC(char*,SDL_GetGamepadMapping,(SDL_Gamepad *a),(a),return)
|
||||
SDL_DYNAPI_PROC(char*,SDL_GetGamepadMappingForGUID,(SDL_JoystickGUID a),(a),return)
|
||||
SDL_DYNAPI_PROC(char*,SDL_GetGamepadMappingForIndex,(int a),(a),return)
|
||||
SDL_DYNAPI_PROC(const char*,SDL_GetGamepadName,(SDL_Gamepad *a),(a),return)
|
||||
SDL_DYNAPI_PROC(int,SDL_GetGamepadNumTouchpadFingers,(SDL_Gamepad *a, int b),(a,b),return)
|
||||
SDL_DYNAPI_PROC(int,SDL_GetGamepadNumTouchpads,(SDL_Gamepad *a),(a),return)
|
||||
SDL_DYNAPI_PROC(int,SDL_GetNumGamepadTouchpadFingers,(SDL_Gamepad *a, int b),(a,b),return)
|
||||
SDL_DYNAPI_PROC(int,SDL_GetNumGamepadTouchpads,(SDL_Gamepad *a),(a),return)
|
||||
SDL_DYNAPI_PROC(const char*,SDL_GetGamepadPath,(SDL_Gamepad *a),(a),return)
|
||||
SDL_DYNAPI_PROC(int,SDL_GetGamepadPlayerIndex,(SDL_Gamepad *a),(a),return)
|
||||
SDL_DYNAPI_PROC(Uint16,SDL_GetGamepadProduct,(SDL_Gamepad *a),(a),return)
|
||||
|
@@ -2396,7 +2396,7 @@ Uint8 SDL_GetGamepadButton(SDL_Gamepad *gamepad, SDL_GamepadButton button)
|
||||
/**
|
||||
* Get the number of touchpads on a gamepad.
|
||||
*/
|
||||
int SDL_GetGamepadNumTouchpads(SDL_Gamepad *gamepad)
|
||||
int SDL_GetNumGamepadTouchpads(SDL_Gamepad *gamepad)
|
||||
{
|
||||
int retval = 0;
|
||||
|
||||
@@ -2415,7 +2415,7 @@ int SDL_GetGamepadNumTouchpads(SDL_Gamepad *gamepad)
|
||||
/**
|
||||
* Get the number of supported simultaneous fingers on a touchpad on a gamepad.
|
||||
*/
|
||||
int SDL_GetGamepadNumTouchpadFingers(SDL_Gamepad *gamepad, int touchpad)
|
||||
int SDL_GetNumGamepadTouchpadFingers(SDL_Gamepad *gamepad, int touchpad)
|
||||
{
|
||||
int retval = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user