SDL  2.0
SDL_JoystickDriver Struct Reference

#include <SDL_sysjoystick.h>

+ Collaboration diagram for SDL_JoystickDriver:

Data Fields

int(* Init )(void)
 
int(* GetCount )(void)
 
void(* Detect )(void)
 
const char *(* GetDeviceName )(int device_index)
 
int(* GetDevicePlayerIndex )(int device_index)
 
SDL_JoystickGUID(* GetDeviceGUID )(int device_index)
 
SDL_JoystickID(* GetDeviceInstanceID )(int device_index)
 
int(* Open )(SDL_Joystick *joystick, int device_index)
 
int(* Rumble )(SDL_Joystick *joystick, Uint16 low_frequency_rumble, Uint16 high_frequency_rumble, Uint32 duration_ms)
 
void(* Update )(SDL_Joystick *joystick)
 
void(* Close )(SDL_Joystick *joystick)
 
void(* Quit )(void)
 

Detailed Description

Definition at line 92 of file SDL_sysjoystick.h.

Field Documentation

void(* SDL_JoystickDriver::Close)(SDL_Joystick *joystick)

Definition at line 136 of file SDL_sysjoystick.h.

void(* SDL_JoystickDriver::Detect)(void)

Definition at line 104 of file SDL_sysjoystick.h.

Referenced by SDL_JoystickUpdate().

int(* SDL_JoystickDriver::GetCount)(void)

Definition at line 101 of file SDL_sysjoystick.h.

Referenced by SDL_GetDriverAndJoystickIndex(), and SDL_NumJoysticks().

SDL_JoystickGUID(* SDL_JoystickDriver::GetDeviceGUID)(int device_index)

Definition at line 113 of file SDL_sysjoystick.h.

Referenced by SDL_JoystickGetDeviceGUID(), and SDL_JoystickOpen().

SDL_JoystickID(* SDL_JoystickDriver::GetDeviceInstanceID)(int device_index)

Definition at line 116 of file SDL_sysjoystick.h.

Referenced by SDL_JoystickGetDeviceInstanceID(), and SDL_JoystickOpen().

const char*(* SDL_JoystickDriver::GetDeviceName)(int device_index)

Definition at line 107 of file SDL_sysjoystick.h.

Referenced by SDL_JoystickNameForIndex(), and SDL_JoystickOpen().

int(* SDL_JoystickDriver::GetDevicePlayerIndex)(int device_index)

Definition at line 110 of file SDL_sysjoystick.h.

Referenced by SDL_JoystickGetDevicePlayerIndex().

int(* SDL_JoystickDriver::Init)(void)

Definition at line 98 of file SDL_sysjoystick.h.

int(* SDL_JoystickDriver::Open)(SDL_Joystick *joystick, int device_index)

Definition at line 123 of file SDL_sysjoystick.h.

Referenced by SDL_JoystickOpen().

void(* SDL_JoystickDriver::Quit)(void)

Definition at line 139 of file SDL_sysjoystick.h.

Referenced by SDL_JoystickQuit().

int(* SDL_JoystickDriver::Rumble)(SDL_Joystick *joystick, Uint16 low_frequency_rumble, Uint16 high_frequency_rumble, Uint32 duration_ms)

Definition at line 126 of file SDL_sysjoystick.h.

void(* SDL_JoystickDriver::Update)(SDL_Joystick *joystick)

Definition at line 133 of file SDL_sysjoystick.h.

Referenced by SDL_JoystickOpen().


The documentation for this struct was generated from the following file: