Explorar el Código

Fixed warning: no previous prototype for function 'SDL_IsJoystickGameInput'

Sam Lantinga hace 3 meses
padre
commit
69e94a4fbd
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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);