Skip to content

Commit

Permalink
Fixed compile warning
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Mar 2, 2020
1 parent 339612d commit 27f346a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/joystick/hidapi/SDL_hidapi_xbox360.c
Expand Up @@ -244,6 +244,7 @@ HIDAPI_DriverXbox360_QuitWindowsGamingInput(SDL_DriverXbox360_Context *ctx)

#endif /* SDL_JOYSTICK_HIDAPI_WINDOWS_GAMING_INPUT */

#if defined(__MACOSX__)
static SDL_bool
IsBluetoothXboxOneController(Uint16 vendor_id, Uint16 product_id)
{
Expand All @@ -257,6 +258,7 @@ IsBluetoothXboxOneController(Uint16 vendor_id, Uint16 product_id)
}
return SDL_FALSE;
}
#endif

static SDL_bool
HIDAPI_DriverXbox360_IsSupportedDevice(const char *name, SDL_GameControllerType type, Uint16 vendor_id, Uint16 product_id, Uint16 version, int interface_number, int interface_class, int interface_subclass, int interface_protocol)
Expand Down

0 comments on commit 27f346a

Please sign in to comment.