Go to the documentation of this file.
21 #include "../../SDL_internal.h"
23 #ifndef SDL_JOYSTICK_HIDAPI_H
24 #define SDL_JOYSTICK_HIDAPI_H
26 #include "../../hidapi/hidapi/hidapi.h"
29 #define SDL_JOYSTICK_HIDAPI_PS4
30 #define SDL_JOYSTICK_HIDAPI_SWITCH
31 #define SDL_JOYSTICK_HIDAPI_XBOX360
32 #define SDL_JOYSTICK_HIDAPI_XBOXONE
36 #undef SDL_JOYSTICK_HIDAPI_XBOXONE
38 #undef SDL_JOYSTICK_HIDAPI_XBOX360
43 #undef SDL_JOYSTICK_HIDAPI_XBOXONE
46 typedef struct _SDL_HIDAPI_DeviceDriver
SDL_HIDAPI_DeviceDriver SDL_HIDAPI_DriverPS4
SDL_HIDAPI_DeviceDriver SDL_HIDAPI_DriverSwitch
SDL_HIDAPI_DeviceDriver SDL_HIDAPI_DriverXbox360
static screen_context_t context
const char * HIDAPI_XboxControllerName(Uint16 vendor_id, Uint16 product_id)
SDL_HIDAPI_DeviceDriver SDL_HIDAPI_DriverXboxOne
SDL_HIDAPI_DeviceDriver SDL_HIDAPI_DriverSteam
SDL_bool HIDAPI_IsDevicePresent(Uint16 vendor_id, Uint16 product_id, Uint16 version)
struct hid_device_ hid_device
const SDL_PRINTF_FORMAT_STRING char int const SDL_PRINTF_FORMAT_STRING char int const SDL_PRINTF_FORMAT_STRING char int const SDL_PRINTF_FORMAT_STRING char const char const SDL_SCANF_FORMAT_STRING char return SDL_ThreadFunction const char void return Uint32 return Uint32 void