Browse Source

Fixed warning: no previous prototype for function 'SDL_IsJoystickGameInput'

Sam Lantinga 4 days ago
parent
commit
69e94a4fbd
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/joystick/SDL_joystick_c.h

+ 3 - 0
src/joystick/SDL_joystick_c.h

@@ -156,6 +156,9 @@ extern bool SDL_IsJoystickXInput(SDL_GUID guid);
 // Function to return whether a joystick guid comes from the WGI driver
 extern bool SDL_IsJoystickWGI(SDL_GUID guid);
 
+// Function to return whether a joystick guid comes from the GameInput driver
+extern bool SDL_IsJoystickGameInput(SDL_GUID guid);
+
 // Function to return whether a joystick guid comes from the HIDAPI driver
 extern bool SDL_IsJoystickHIDAPI(SDL_GUID guid);