21 #include "../SDL_internal.h" 23 #ifndef SDL_sysjoystick_h_ 24 #define SDL_sysjoystick_h_ 32 typedef struct _SDL_JoystickAxisInfo
72 #define MAKE_VIDPID(VID, PID) (((Uint32)(VID))<<16|(PID)) 124 #if SDL_JOYSTICK_XINPUT 126 extern SDL_bool SDL_SYS_IsXInputGamepad_DeviceIndex(
int device_index);
129 #if defined(__ANDROID__) 131 extern SDL_bool SDL_SYS_IsDPAD_DeviceIndex(
int device_index);
int SDL_SYS_NumJoysticks(void)
SDL_JoystickID instance_id
SDL_JoystickAxisInfo * axes
void SDL_SYS_JoystickDetect(void)
SDL_bool has_initial_value
SDL_bool SDL_SYS_JoystickAttached(SDL_Joystick *joystick)
SDL_bool is_game_controller
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)
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)
SDL_bool sent_initial_value
void SDL_SYS_JoystickUpdate(SDL_Joystick *joystick)
int SDL_SYS_JoystickInit(void)