mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-01-22 01:57:18 +01:00
Fixed compile warning
This commit is contained in:
parent
339612d5af
commit
27f346a058
@ -244,6 +244,7 @@ HIDAPI_DriverXbox360_QuitWindowsGamingInput(SDL_DriverXbox360_Context *ctx)
|
|||||||
|
|
||||||
#endif /* SDL_JOYSTICK_HIDAPI_WINDOWS_GAMING_INPUT */
|
#endif /* SDL_JOYSTICK_HIDAPI_WINDOWS_GAMING_INPUT */
|
||||||
|
|
||||||
|
#if defined(__MACOSX__)
|
||||||
static SDL_bool
|
static SDL_bool
|
||||||
IsBluetoothXboxOneController(Uint16 vendor_id, Uint16 product_id)
|
IsBluetoothXboxOneController(Uint16 vendor_id, Uint16 product_id)
|
||||||
{
|
{
|
||||||
@ -257,6 +258,7 @@ IsBluetoothXboxOneController(Uint16 vendor_id, Uint16 product_id)
|
|||||||
}
|
}
|
||||||
return SDL_FALSE;
|
return SDL_FALSE;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static SDL_bool
|
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)
|
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user