Renamed SDL_GetGamepadNumTouchpads and SDL_GetGamepadNumTouchpadFingers to match the new convention

This commit is contained in:
Sam Lantinga 2023-01-24 13:47:30 -08:00
parent fcf5b99068
commit a06a593aa6
7 changed files with 16 additions and 16 deletions

View file

@ -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;