SDL  2.0
SDL_hidapijoystick_c.h File Reference
+ Include dependency graph for SDL_hidapijoystick_c.h:

Go to the source code of this file.

Data Structures

struct  SDL_HIDAPI_DeviceDriver

Macros

#define SDL_JOYSTICK_HIDAPI_PS4
#define SDL_JOYSTICK_HIDAPI_SWITCH
#define SDL_JOYSTICK_HIDAPI_XBOX360
#define SDL_JOYSTICK_HIDAPI_XBOXONE

Functions

SDL_bool HIDAPI_IsDevicePresent (Uint16 vendor_id, Uint16 product_id, Uint16 version)
const char * HIDAPI_XboxControllerName (Uint16 vendor_id, Uint16 product_id)

Variables

SDL_HIDAPI_DeviceDriver SDL_HIDAPI_DriverPS4
SDL_HIDAPI_DeviceDriver SDL_HIDAPI_DriverSteam
SDL_HIDAPI_DeviceDriver SDL_HIDAPI_DriverSwitch
SDL_HIDAPI_DeviceDriver SDL_HIDAPI_DriverXbox360
SDL_HIDAPI_DeviceDriver SDL_HIDAPI_DriverXboxOne

Macro Definition Documentation

#define SDL_JOYSTICK_HIDAPI_PS4

Definition at line 29 of file SDL_hidapijoystick_c.h.

#define SDL_JOYSTICK_HIDAPI_SWITCH

Definition at line 30 of file SDL_hidapijoystick_c.h.

#define SDL_JOYSTICK_HIDAPI_XBOX360

Definition at line 31 of file SDL_hidapijoystick_c.h.

#define SDL_JOYSTICK_HIDAPI_XBOXONE

Definition at line 32 of file SDL_hidapijoystick_c.h.

Function Documentation

SDL_bool HIDAPI_IsDevicePresent ( Uint16  vendor_id,
Uint16  product_id,
Uint16  version 
)
const char* HIDAPI_XboxControllerName ( Uint16  vendor_id,
Uint16  product_id 
)

Variable Documentation

SDL_HIDAPI_DeviceDriver SDL_HIDAPI_DriverPS4
SDL_HIDAPI_DeviceDriver SDL_HIDAPI_DriverSteam
SDL_HIDAPI_DeviceDriver SDL_HIDAPI_DriverSwitch
SDL_HIDAPI_DeviceDriver SDL_HIDAPI_DriverXbox360
SDL_HIDAPI_DeviceDriver SDL_HIDAPI_DriverXboxOne