21 #include "../SDL_internal.h" 23 #ifndef _SDL_sysjoystick_h 24 #define _SDL_sysjoystick_h 112 #if SDL_JOYSTICK_XINPUT 114 extern SDL_bool SDL_SYS_IsXInputGamepad_DeviceIndex(
int device_index);
SDL_JoystickID instance_id
SDL_bool SDL_SYS_JoystickAttached(SDL_Joystick *joystick)
SDL_bool force_recentering
void SDL_SYS_JoystickClose(SDL_Joystick *joystick)
struct joystick_hwdata * hwdata
struct _SDL_Joystick * next
SDL_JoystickGUID SDL_SYS_JoystickGetDeviceGUID(int device_index)
uint8_t Uint8
An unsigned 8-bit integer type.
SDL_JoystickID SDL_SYS_GetInstanceIdOfDeviceIndex(int device_index)
int SDL_SYS_JoystickOpen(SDL_Joystick *joystick, int device_index)
SDL_JoystickGUID SDL_SYS_JoystickGetGUID(SDL_Joystick *joystick)
const char * SDL_SYS_JoystickNameForDeviceIndex(int device_index)
SDL_JoystickPowerLevel epowerlevel
void SDL_SYS_JoystickQuit(void)
int SDL_SYS_NumJoysticks()
struct _SDL_Joystick::balldelta * balls
void SDL_SYS_JoystickUpdate(SDL_Joystick *joystick)
void SDL_SYS_JoystickDetect()
int16_t Sint16
A signed 16-bit integer type.
int SDL_SYS_JoystickInit(void)