Sfoglia il codice sorgente

Fixed warning: no previous prototype for function 'SDL_IsJoystickGameInput'

Sam Lantinga 4 giorni fa
parent
commit
69e94a4fbd
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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
 // Function to return whether a joystick guid comes from the WGI driver
 extern bool SDL_IsJoystickWGI(SDL_GUID guid);
 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
 // Function to return whether a joystick guid comes from the HIDAPI driver
 extern bool SDL_IsJoystickHIDAPI(SDL_GUID guid);
 extern bool SDL_IsJoystickHIDAPI(SDL_GUID guid);