sdl2-compat: Updated for "Is" function rename.

From d667633cb22a7a82ef390de42942916339983d0c Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Thu, 29 Dec 2022 14:11:03 -0500
Subject: [PATCH] Updated for "Is" function rename.

---
 src/sdl3_syms.h | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/src/sdl3_syms.h b/src/sdl3_syms.h
index bb84212..4f18401 100644
--- a/src/sdl3_syms.h
+++ b/src/sdl3_syms.h
@@ -162,7 +162,7 @@ SDL3_SYM_RENAMED(SDL_bool,IsGameController,IsGamepad,(int a),(a),return)
 SDL3_SYM_RENAMED(const char*,GameControllerNameForIndex,GetGamepadNameForIndex,(int a),(a),return)
 SDL3_SYM_RENAMED(SDL_GameController*,GameControllerOpen,OpenGamepad,(int a),(a),return)
 SDL3_SYM_RENAMED(const char*,GameControllerName,GetGamepadName,(SDL_GameController *a),(a),return)
-SDL3_SYM_RENAMED(SDL_bool,GameControllerGetAttached,IsGamepadConnected,(SDL_GameController *a),(a),return)
+SDL3_SYM_RENAMED(SDL_bool,GameControllerGetAttached,GamepadConnected,(SDL_GameController *a),(a),return)
 SDL3_SYM_RENAMED(SDL_Joystick*,GameControllerGetJoystick,GetGamepadJoystick,(SDL_GameController *a),(a),return)
 SDL3_SYM_RENAMED(int,GameControllerEventState,GetGamepadEventState,(int a),(a),return)
 SDL3_SYM_RENAMED(void,GameControllerUpdate,UpdateGamepads,(void),(),)
@@ -219,7 +219,7 @@ SDL3_SYM_RENAMED(SDL_JoystickGUID,JoystickGetDeviceGUID,GetJoystickDeviceGUID,(i
 SDL3_SYM_RENAMED(SDL_JoystickGUID,JoystickGetGUID,GetJoystickGUID,(SDL_Joystick *a),(a),return)
 SDL3_SYM_RENAMED(void,JoystickGetGUIDString,GetJoystickGUIDString,(SDL_JoystickGUID a, char *b, int c),(a,b,c),)
 SDL3_SYM_RENAMED(SDL_JoystickGUID,JoystickGetGUIDFromString,GetJoystickGUIDFromString,(const char *a),(a),return)
-SDL3_SYM_RENAMED(SDL_bool,JoystickGetAttached,IsJoystickConnected,(SDL_Joystick *a),(a),return)
+SDL3_SYM_RENAMED(SDL_bool,JoystickGetAttached,JoystickConnected,(SDL_Joystick *a),(a),return)
 SDL3_SYM_RENAMED(SDL_JoystickID,JoystickInstanceID,GetJoystickInstanceID,(SDL_Joystick *a),(a),return)
 SDL3_SYM_RENAMED(int,JoystickNumAxes,GetNumJoystickAxes,(SDL_Joystick *a),(a),return)
 SDL3_SYM_RENAMED(int,JoystickNumHats,GetNumJoystickHats,(SDL_Joystick *a),(a),return)
@@ -241,11 +241,11 @@ SDL3_SYM_PASSTHROUGH(SDL_Scancode,GetScancodeFromName,(const char *a),(a),return
 SDL3_SYM_PASSTHROUGH(const char*,GetKeyName,(SDL_Keycode a),(a),return)
 SDL3_SYM_PASSTHROUGH(SDL_Keycode,GetKeyFromName,(const char *a),(a),return)
 SDL3_SYM_PASSTHROUGH(void,StartTextInput,(void),(),)
-SDL3_SYM_PASSTHROUGH(SDL_bool,IsTextInputActive,(void),(),return)
+SDL3_SYM_PASSTHROUGH(SDL_bool,TextInputActive,(void),(),return)
 SDL3_SYM_PASSTHROUGH(void,StopTextInput,(void),(),)
 SDL3_SYM_PASSTHROUGH(void,SetTextInputRect,(const SDL_Rect *a),(a),)
 SDL3_SYM_PASSTHROUGH(SDL_bool,HasScreenKeyboardSupport,(void),(),return)
-SDL3_SYM_PASSTHROUGH(SDL_bool,IsScreenKeyboardShown,(SDL_Window *a),(a),return)
+SDL3_SYM_RENAMED(SDL_bool,IsScreenKeyboardShown,ScreenKeyboardShown,(SDL_Window *a),(a),return)
 SDL3_SYM_PASSTHROUGH(void*,LoadObject,(const char *a),(a),return)
 SDL3_SYM_PASSTHROUGH(void*,LoadFunction,(void *a, const char *b),(a,b),return)
 SDL3_SYM_PASSTHROUGH(void,UnloadObject,(void *a),(a),)
@@ -332,7 +332,7 @@ SDL3_SYM_PASSTHROUGH(int,UpdateTexture,(SDL_Texture *a, const SDL_Rect *b, const
 SDL3_SYM_PASSTHROUGH(int,UpdateYUVTexture,(SDL_Texture *a, const SDL_Rect *b, const Uint8 *c, int d, const Uint8 *e, int f, const Uint8 *g, int h),(a,b,c,d,e,f,g,h),return)
 SDL3_SYM_PASSTHROUGH(int,LockTexture,(SDL_Texture *a, const SDL_Rect *b, void **c, int *d),(a,b,c,d),return)
 SDL3_SYM_PASSTHROUGH(void,UnlockTexture,(SDL_Texture *a),(a),)
-SDL3_SYM_RENAMED(SDL_bool,RenderTargetSupported,IsRenderTargetSupported,(SDL_Renderer *a),(a),return)
+SDL3_SYM_PASSTHROUGH(SDL_bool,RenderTargetSupported,(SDL_Renderer *a),(a),return)
 SDL3_SYM_PASSTHROUGH(int,SetRenderTarget,(SDL_Renderer *a, SDL_Texture *b),(a,b),return)
 SDL3_SYM_PASSTHROUGH(SDL_Texture*,GetRenderTarget,(SDL_Renderer *a),(a),return)
 SDL3_SYM_RENAMED(int,RenderSetLogicalSize,SetRenderLogicalSize,(SDL_Renderer *a, int b, int c),(a,b,c),return)
@@ -553,7 +553,7 @@ SDL3_SYM_PASSTHROUGH(int,UpdateWindowSurfaceRects,(SDL_Window *a, const SDL_Rect
 SDL3_SYM_PASSTHROUGH(void,SetWindowGrab,(SDL_Window *a, SDL_bool b),(a,b),)
 SDL3_SYM_PASSTHROUGH(SDL_bool,GetWindowGrab,(SDL_Window *a),(a),return)
 SDL3_SYM_PASSTHROUGH(void,DestroyWindow,(SDL_Window *a),(a),)
-SDL3_SYM_PASSTHROUGH(SDL_bool,IsScreenSaverEnabled,(void),(),return)
+SDL3_SYM_RENAMED(SDL_bool,IsScreenSaverEnabled,ScreenSaverEnabled,(void),(),return)
 SDL3_SYM_PASSTHROUGH(void,EnableScreenSaver,(void),(),)
 SDL3_SYM_PASSTHROUGH(void,DisableScreenSaver,(void),(),)
 SDL3_SYM_PASSTHROUGH(int,GL_LoadLibrary,(const char *a),(a),return)
@@ -580,7 +580,7 @@ SDL3_SYM_PASSTHROUGH(SDL_AssertionHandler,GetAssertionHandler,(void **a),(a),ret
 #if defined(__WIN32__) || defined(__WINGDK__)
 SDL3_SYM_PASSTHROUGH(SDL_bool,DXGIGetOutputInfo,(int a,int *b, int *c),(a,b,c),return)
 #endif
-SDL3_SYM_RENAMED(SDL_bool,RenderIsClipEnabled,IsRenderClipEnabled,(SDL_Renderer *a),(a),return)
+SDL3_SYM_RENAMED(SDL_bool,RenderIsClipEnabled,RenderClipEnabled,(SDL_Renderer *a),(a),return)
 #ifdef __WINRT__
 SDL3_SYM_PASSTHROUGH(int,WinRTRunApp,(int a, char **b, void *c),(a,b,c),return)
 SDL3_SYM_PASSTHROUGH(const wchar_t*,WinRTGetFSPathUNICODE,(SDL_WinRT_Path a),(a),return)
@@ -781,7 +781,7 @@ SDL3_SYM_PASSTHROUGH(int,isupper,(int a),(a),return)
 SDL3_SYM_PASSTHROUGH(int,islower,(int a),(a),return)
 SDL3_SYM_RENAMED(int,JoystickAttachVirtual,AttachVirtualJoystick,(SDL_JoystickType a, int b, int c, int d),(a,b,c,d),return)
 SDL3_SYM_RENAMED(int,JoystickDetachVirtual,DetachVirtualJoystick,(int a),(a),return)
-SDL3_SYM_RENAMED(SDL_bool,JoystickIsVirtual,IsJoystickVirtual,(int a),(a),return)
+SDL3_SYM_RENAMED(SDL_bool,JoystickIsVirtual,JoystickVirtual,(int a),(a),return)
 SDL3_SYM_RENAMED(int,JoystickSetVirtualAxis,SetJoystickVirtualAxis,(SDL_Joystick *a, int b, Sint16 c),(a,b,c),return)
 SDL3_SYM_RENAMED(int,JoystickSetVirtualButton,SetJoystickVirtualButton,(SDL_Joystick *a, int b, Uint8 c),(a,b,c),return)
 SDL3_SYM_RENAMED(int,JoystickSetVirtualHat,SetJoystickVirtualHat,(SDL_Joystick *a, int b, Uint8 c),(a,b,c),return)
@@ -815,7 +815,7 @@ SDL3_SYM_RENAMED(const char*,GameControllerGetSerial,GetGamepadSerial,(SDL_GameC
 SDL3_SYM_RENAMED(const char*,JoystickGetSerial,GetJoystickSerial,(SDL_Joystick *a),(a),return)
 SDL3_SYM_RENAMED(SDL_bool,GameControllerHasSensor,GamepadHasSensor,(SDL_GameController *a, SDL_SensorType b),(a,b),return)
 SDL3_SYM_RENAMED(int,GameControllerSetSensorEnabled,SetGamepadSensorEnabled,(SDL_GameController *a, SDL_SensorType b, SDL_bool c),(a,b,c),return)
-SDL3_SYM_RENAMED(SDL_bool,GameControllerIsSensorEnabled,IsGamepadSensorEnabled,(SDL_GameController *a, SDL_SensorType b),(a,b),return)
+SDL3_SYM_RENAMED(SDL_bool,GameControllerIsSensorEnabled,GamepadSensorEnabled,(SDL_GameController *a, SDL_SensorType b),(a,b),return)
 SDL3_SYM_RENAMED(int,GameControllerGetSensorData,GetGamepadSensorData,(SDL_GameController *a, SDL_SensorType b, float *c, int d),(a,b,c,d),return)
 SDL3_SYM_PASSTHROUGH(int,wcscasecmp,(const wchar_t *a, const wchar_t *b),(a,b),return)
 SDL3_SYM_PASSTHROUGH(int,wcsncasecmp,(const wchar_t *a, const wchar_t *b, size_t c),(a,b,c),return)
@@ -896,7 +896,7 @@ SDL3_SYM_PASSTHROUGH(int,AndroidSendMessage,(Uint32 a, int b),(a,b),return)
 #endif
 SDL3_SYM_PASSTHROUGH(const char*,GetTouchName,(int a),(a),return)
 SDL3_SYM_PASSTHROUGH(void,ClearComposition,(void),(),)
-SDL3_SYM_PASSTHROUGH(SDL_bool,IsTextInputShown,(void),(),return)
+SDL3_SYM_RENAMED(SDL_bool,IsTextInputShown,TextInputShown,(void),(),return)
 SDL3_SYM_RENAMED(SDL_bool,HasIntersectionF,HasRectIntersectionF,(const SDL_FRect *a, const SDL_FRect *b),(a,b),return)
 SDL3_SYM_RENAMED(SDL_bool,IntersectFRect,GetRectIntersectionF,(const SDL_FRect *a, const SDL_FRect *b, SDL_FRect *c),(a,b,c),return)
 SDL3_SYM_RENAMED(void,UnionFRect,GetRectUnionF,(const SDL_FRect *a, const SDL_FRect *b, SDL_FRect *c),(a,b,c),)