From 69e94a4fbd22bad90847adb7ea5d8598f2eddd1f Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 13 Mar 2026 17:23:24 -0700 Subject: [PATCH] Fixed warning: no previous prototype for function 'SDL_IsJoystickGameInput' --- src/joystick/SDL_joystick_c.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/joystick/SDL_joystick_c.h b/src/joystick/SDL_joystick_c.h index 2eac02b930..8e3639b94a 100644 --- a/src/joystick/SDL_joystick_c.h +++ b/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);