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)
 
void(* SetDevicePlayerIndex )(int device_index, int player_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)
 
void(* Update )(SDL_Joystick *joystick)
 
void(* Close )(SDL_Joystick *joystick)
 
void(* Quit )(void)
 

Detailed Description

Definition at line 88 of file SDL_sysjoystick.h.

Field Documentation

◆ Close

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

Definition at line 135 of file SDL_sysjoystick.h.

◆ Detect

void(* SDL_JoystickDriver::Detect) (void)

Definition at line 100 of file SDL_sysjoystick.h.

Referenced by SDL_JoystickUpdate().

◆ GetCount

int(* SDL_JoystickDriver::GetCount) (void)

Definition at line 97 of file SDL_sysjoystick.h.

Referenced by SDL_GetDriverAndJoystickIndex(), and SDL_NumJoysticks().

◆ GetDeviceGUID

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

Definition at line 112 of file SDL_sysjoystick.h.

Referenced by SDL_JoystickGetDeviceGUID(), and SDL_JoystickOpen().

◆ GetDeviceInstanceID

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

Definition at line 115 of file SDL_sysjoystick.h.

Referenced by SDL_JoystickGetDeviceInstanceID(), and SDL_JoystickOpen().

◆ GetDeviceName

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

Definition at line 103 of file SDL_sysjoystick.h.

Referenced by SDL_JoystickNameForIndex(), and SDL_JoystickOpen().

◆ GetDevicePlayerIndex

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

Definition at line 106 of file SDL_sysjoystick.h.

Referenced by SDL_PrivateJoystickAdded().

◆ Init

int(* SDL_JoystickDriver::Init) (void)

Definition at line 94 of file SDL_sysjoystick.h.

◆ Open

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

Definition at line 122 of file SDL_sysjoystick.h.

Referenced by SDL_JoystickOpen().

◆ Quit

void(* SDL_JoystickDriver::Quit) (void)

Definition at line 138 of file SDL_sysjoystick.h.

Referenced by SDL_JoystickQuit().

◆ Rumble

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

Definition at line 125 of file SDL_sysjoystick.h.

◆ SetDevicePlayerIndex

void(* SDL_JoystickDriver::SetDevicePlayerIndex) (int device_index, int player_index)

Definition at line 109 of file SDL_sysjoystick.h.

Referenced by SDL_SetJoystickIDForPlayerIndex().

◆ Update

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

Definition at line 132 of file SDL_sysjoystick.h.

Referenced by SDL_JoystickOpen().


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