From 010d3e6442cb8cb54139af6b6fd6c1629b670e4e Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 23 Sep 2022 00:36:46 -0700 Subject: [PATCH] Fixed function prototype mismatch --- src/joystick/hidapi/SDL_hidapijoystick_c.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/joystick/hidapi/SDL_hidapijoystick_c.h b/src/joystick/hidapi/SDL_hidapijoystick_c.h index 3b0e94904..7d2bfd1e8 100644 --- a/src/joystick/hidapi/SDL_hidapijoystick_c.h +++ b/src/joystick/hidapi/SDL_hidapijoystick_c.h @@ -147,7 +147,7 @@ extern SDL_bool HIDAPI_IsDeviceTypePresent(SDL_GameControllerType type); extern SDL_bool HIDAPI_IsDevicePresent(Uint16 vendor_id, Uint16 product_id, Uint16 version, const char *name); /* Return the type of a joystick if it's present and supported */ -extern SDL_GameControllerType HIDAPI_GetJoystickTypeFromGUID(SDL_JoystickGUID guid); +extern SDL_JoystickType HIDAPI_GetJoystickTypeFromGUID(SDL_JoystickGUID guid); /* Return the type of a game controller if it's present and supported */ extern SDL_GameControllerType HIDAPI_GetGameControllerTypeFromGUID(SDL_JoystickGUID guid);