sdl2-compat: fix after SDL_GetGamepadNumTouchpads and SDL_GetGamepadNumTouchpadFingers rename

From 312583acc4dd3211e35ad805a5c48bc3facd2794 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Wed, 25 Jan 2023 01:15:32 +0300
Subject: [PATCH] fix after SDL_GetGamepadNumTouchpads and
 SDL_GetGamepadNumTouchpadFingers rename

---
 src/sdl3_include_wrapper.h | 12 ++++++------
 src/sdl3_syms.h            |  4 ++--
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/sdl3_include_wrapper.h b/src/sdl3_include_wrapper.h
index f697e49..29502d7 100644
--- a/src/sdl3_include_wrapper.h
+++ b/src/sdl3_include_wrapper.h
@@ -143,8 +143,8 @@
 #define SDL_GetGamepadBindForButton IGNORE_THIS_VERSION_OF_SDL_GetGamepadBindForButton
 #define SDL_GamepadHasButton IGNORE_THIS_VERSION_OF_SDL_GamepadHasButton
 #define SDL_GetGamepadButton IGNORE_THIS_VERSION_OF_SDL_GetGamepadButton
-#define SDL_GetGamepadNumTouchpads IGNORE_THIS_VERSION_OF_SDL_GetGamepadNumTouchpads
-#define SDL_GetGamepadNumTouchpadFingers IGNORE_THIS_VERSION_OF_SDL_GetGamepadNumTouchpadFingers
+#define SDL_GetNumGamepadTouchpads IGNORE_THIS_VERSION_OF_SDL_GetNumGamepadTouchpads
+#define SDL_GetNumGamepadTouchpadFingers IGNORE_THIS_VERSION_OF_SDL_GetNumGamepadTouchpadFingers
 #define SDL_GetGamepadTouchpadFinger IGNORE_THIS_VERSION_OF_SDL_GetGamepadTouchpadFinger
 #define SDL_GamepadHasSensor IGNORE_THIS_VERSION_OF_SDL_GamepadHasSensor
 #define SDL_SetGamepadSensorEnabled IGNORE_THIS_VERSION_OF_SDL_SetGamepadSensorEnabled
@@ -1384,12 +1384,12 @@ typedef void (__cdecl *pfnSDL_CurrentEndThread) (unsigned);
 #undef SDL_GetGamepadButton
 #endif
 
-#ifdef SDL_GetGamepadNumTouchpads
-#undef SDL_GetGamepadNumTouchpads
+#ifdef SDL_GetNumGamepadTouchpads
+#undef SDL_GetNumGamepadTouchpads
 #endif
 
-#ifdef SDL_GetGamepadNumTouchpadFingers
-#undef SDL_GetGamepadNumTouchpadFingers
+#ifdef SDL_GetNumGamepadTouchpadFingers
+#undef SDL_GetNumGamepadTouchpadFingers
 #endif
 
 #ifdef SDL_GetGamepadTouchpadFinger
diff --git a/src/sdl3_syms.h b/src/sdl3_syms.h
index 708f8fb..b42f9ba 100644
--- a/src/sdl3_syms.h
+++ b/src/sdl3_syms.h
@@ -758,8 +758,8 @@ SDL3_SYM_RENAMED(int,GameControllerRumbleTriggers,RumbleGamepadTriggers,(SDL_Gam
 SDL3_SYM_RENAMED(int,JoystickRumbleTriggers,RumbleJoystickTriggers,(SDL_Joystick *a, Uint16 b, Uint16 c, Uint32 d),(a,b,c,d),return)
 SDL3_SYM_RENAMED(SDL_bool,GameControllerHasAxis,GamepadHasAxis,(SDL_GameController *a, SDL_GameControllerAxis b),(a,b),return)
 SDL3_SYM_RENAMED(SDL_bool,GameControllerHasButton,GamepadHasButton,(SDL_GameController *a, SDL_GameControllerButton b),(a,b),return)
-SDL3_SYM_RENAMED(int,GameControllerGetNumTouchpads,GetGamepadNumTouchpads,(SDL_GameController *a),(a),return)
-SDL3_SYM_RENAMED(int,GameControllerGetNumTouchpadFingers,GetGamepadNumTouchpadFingers,(SDL_GameController *a, int b),(a,b),return)
+SDL3_SYM_RENAMED(int,GameControllerGetNumTouchpads,GetNumGamepadTouchpads,(SDL_GameController *a),(a),return)
+SDL3_SYM_RENAMED(int,GameControllerGetNumTouchpadFingers,GetNumGamepadTouchpadFingers,(SDL_GameController *a, int b),(a,b),return)
 SDL3_SYM_RENAMED(int,GameControllerGetTouchpadFinger,GetGamepadTouchpadFinger,(SDL_GameController *a, int b, int c, Uint8 *d, float *e, float *f, float *g),(a,b,c,d,e,f,g),return)
 SDL3_SYM_PASSTHROUGH(Uint32,crc32,(Uint32 a, const void *b, size_t c),(a,b,c),return)
 SDL3_SYM_RENAMED(const char*,GameControllerGetSerial,GetGamepadSerial,(SDL_GameController *a),(a),return)