SDL  2.0
recDevice Struct Reference

#include <SDL_sysjoystick_c.h>

+ Collaboration diagram for recDevice:

Data Structures

struct  axis_correct
 
struct  hwdata_ball
 
struct  hwdata_hat
 

Data Fields

IOHIDDeviceRef deviceRef
 
io_service_t ffservice
 
char product [256]
 
uint32_t usage
 
uint32_t usagePage
 
int axes
 
int buttons
 
int hats
 
int elements
 
recElementfirstAxis
 
recElementfirstButton
 
recElementfirstHat
 
SDL_bool removed
 
int instance_id
 
SDL_JoystickGUID guid
 
struct joystick_hwdatapNext
 
int fd
 
struct SDL_joylist_item * item
 
char * fname
 
struct
joystick_hwdata::hwdata_hat
hats
 
struct
joystick_hwdata::hwdata_ball
balls
 
Uint8 key_map [KEY_MAX]
 
Uint8 abs_map [ABS_MAX]
 
struct
joystick_hwdata::axis_correct 
abs_correct [ABS_MAX]
 
int fresh
 
SDL_bool send_remove_event
 
SDL_bool bXInputDevice
 
SDL_bool bXInputHaptic
 
Uint8 userid
 
DWORD dwPacketNumber
 

Protected Attributes

SDL_bool accelerometer
 
GCController __unsafe_unretained * controller
 
int num_pause_presses
 
char * name
 
SDL_Joystick * joystick
 
SDL_JoystickID instance_id
 
int naxes
 
int nbuttons
 
int nhats
 
struct joystick_hwdatanext
 

Detailed Description

Definition at line 44 of file SDL_sysjoystick_c.h.

Field Documentation

struct joystick_hwdata::axis_correct recDevice::abs_correct[ABS_MAX]
Uint8 recDevice::abs_map[ABS_MAX]

Definition at line 47 of file SDL_sysjoystick_c.h.

SDL_bool recDevice::accelerometer
protected
int recDevice::axes

Definition at line 53 of file SDL_sysjoystick_c.h.

Referenced by SDL_SYS_MFIJoystickUpdate().

struct joystick_hwdata::hwdata_ball * recDevice::balls
int recDevice::buttons

Definition at line 54 of file SDL_sysjoystick_c.h.

Referenced by SDL_SYS_MFIJoystickUpdate().

SDL_bool recDevice::bXInputDevice

Definition at line 81 of file SDL_windowsjoystick_c.h.

SDL_bool recDevice::bXInputHaptic

Definition at line 82 of file SDL_windowsjoystick_c.h.

IOHIDDeviceRef recDevice::deviceRef

Definition at line 46 of file SDL_sysjoystick_c.h.

DWORD recDevice::dwPacketNumber

Definition at line 84 of file SDL_windowsjoystick_c.h.

int recDevice::elements

Definition at line 56 of file SDL_sysjoystick_c.h.

int recDevice::fd

Definition at line 29 of file SDL_sysjoystick_c.h.

io_service_t recDevice::ffservice

Definition at line 47 of file SDL_sysjoystick_c.h.

recElement* recDevice::firstAxis

Definition at line 58 of file SDL_sysjoystick_c.h.

recElement* recDevice::firstButton

Definition at line 59 of file SDL_sysjoystick_c.h.

recElement* recDevice::firstHat

Definition at line 60 of file SDL_sysjoystick_c.h.

char* recDevice::fname

Definition at line 32 of file SDL_sysjoystick_c.h.

int recDevice::fresh

Definition at line 54 of file SDL_sysjoystick_c.h.

struct joystick_hwdata::hwdata_hat * recDevice::hats
int recDevice::hats

Definition at line 55 of file SDL_sysjoystick_c.h.

SDL_JoystickID recDevice::instance_id
protected

Definition at line 40 of file SDL_sysjoystick_c.h.

struct SDL_joylist_item* recDevice::item

Definition at line 30 of file SDL_sysjoystick_c.h.

Referenced by SDL_SYS_RemoveJoystickDevice().

SDL_Joystick* recDevice::joystick
protected
Uint8 recDevice::key_map[KEY_MAX]

Definition at line 46 of file SDL_sysjoystick_c.h.

int recDevice::naxes
protected
int recDevice::nbuttons
protected
struct joystick_hwdata* recDevice::next
protected
int recDevice::nhats
protected
int recDevice::num_pause_presses
protected

Definition at line 36 of file SDL_sysjoystick_c.h.

struct joystick_hwdata* recDevice::pNext

Definition at line 67 of file SDL_sysjoystick_c.h.

char recDevice::product[256]

Definition at line 49 of file SDL_sysjoystick_c.h.

SDL_bool recDevice::removed

Definition at line 62 of file SDL_sysjoystick_c.h.

SDL_bool recDevice::send_remove_event

Definition at line 70 of file SDL_windowsjoystick_c.h.

uint32_t recDevice::usage

Definition at line 50 of file SDL_sysjoystick_c.h.

uint32_t recDevice::usagePage

Definition at line 51 of file SDL_sysjoystick_c.h.

Uint8 recDevice::userid

Definition at line 83 of file SDL_windowsjoystick_c.h.


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