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

◆ Close

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

Definition at line 136 of file SDL_sysjoystick.h.

◆ Detect

void(* _SDL_JoystickDriver::Detect) (void)

Definition at line 104 of file SDL_sysjoystick.h.

◆ GetCount

int(* _SDL_JoystickDriver::GetCount) (void)

Definition at line 101 of file SDL_sysjoystick.h.

◆ GetDeviceGUID

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

Definition at line 113 of file SDL_sysjoystick.h.

◆ GetDeviceInstanceID

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

Definition at line 116 of file SDL_sysjoystick.h.

◆ GetDeviceName

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

Definition at line 107 of file SDL_sysjoystick.h.

◆ GetDevicePlayerIndex

int(* _SDL_JoystickDriver::GetDevicePlayerIndex) (int device_index)

Definition at line 110 of file SDL_sysjoystick.h.

◆ Init

int(* _SDL_JoystickDriver::Init) (void)

Definition at line 98 of file SDL_sysjoystick.h.

◆ Open

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

Definition at line 123 of file SDL_sysjoystick.h.

◆ Quit

void(* _SDL_JoystickDriver::Quit) (void)

Definition at line 139 of file SDL_sysjoystick.h.

◆ Rumble

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.

◆ Update

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

Definition at line 133 of file SDL_sysjoystick.h.


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