SDL  2.0
_SDL_HIDAPI_Device Struct Reference

#include <SDL_hidapijoystick_c.h>

+ Collaboration diagram for _SDL_HIDAPI_Device:

Data Fields

char * name
 
char * path
 
Uint16 vendor_id
 
Uint16 product_id
 
Uint16 version
 
SDL_JoystickGUID guid
 
int interface_number
 
int interface_class
 
int interface_subclass
 
int interface_protocol
 
Uint16 usage_page
 
Uint16 usage
 
struct _SDL_HIDAPI_DeviceDriverdriver
 
voidcontext
 
SDL_mutexdev_lock
 
hid_devicedev
 
SDL_atomic_t rumble_pending
 
int num_joysticks
 
SDL_JoystickIDjoysticks
 
SDL_bool seen
 
struct _SDL_HIDAPI_Devicenext
 

Detailed Description

Definition at line 63 of file SDL_hidapijoystick_c.h.

Field Documentation

◆ context

void* _SDL_HIDAPI_Device::context

Definition at line 79 of file SDL_hidapijoystick_c.h.

◆ dev

hid_device* _SDL_HIDAPI_Device::dev

Definition at line 81 of file SDL_hidapijoystick_c.h.

◆ dev_lock

SDL_mutex* _SDL_HIDAPI_Device::dev_lock

Definition at line 80 of file SDL_hidapijoystick_c.h.

◆ driver

struct _SDL_HIDAPI_DeviceDriver* _SDL_HIDAPI_Device::driver

Definition at line 78 of file SDL_hidapijoystick_c.h.

◆ guid

SDL_JoystickGUID _SDL_HIDAPI_Device::guid

Definition at line 70 of file SDL_hidapijoystick_c.h.

◆ interface_class

int _SDL_HIDAPI_Device::interface_class

Definition at line 72 of file SDL_hidapijoystick_c.h.

◆ interface_number

int _SDL_HIDAPI_Device::interface_number

Definition at line 71 of file SDL_hidapijoystick_c.h.

◆ interface_protocol

int _SDL_HIDAPI_Device::interface_protocol

Definition at line 74 of file SDL_hidapijoystick_c.h.

◆ interface_subclass

int _SDL_HIDAPI_Device::interface_subclass

Definition at line 73 of file SDL_hidapijoystick_c.h.

◆ joysticks

SDL_JoystickID* _SDL_HIDAPI_Device::joysticks

Definition at line 84 of file SDL_hidapijoystick_c.h.

◆ name

char* _SDL_HIDAPI_Device::name

Definition at line 65 of file SDL_hidapijoystick_c.h.

◆ next

struct _SDL_HIDAPI_Device* _SDL_HIDAPI_Device::next

Definition at line 89 of file SDL_hidapijoystick_c.h.

◆ num_joysticks

int _SDL_HIDAPI_Device::num_joysticks

Definition at line 83 of file SDL_hidapijoystick_c.h.

◆ path

char* _SDL_HIDAPI_Device::path

Definition at line 66 of file SDL_hidapijoystick_c.h.

◆ product_id

Uint16 _SDL_HIDAPI_Device::product_id

Definition at line 68 of file SDL_hidapijoystick_c.h.

◆ rumble_pending

SDL_atomic_t _SDL_HIDAPI_Device::rumble_pending

Definition at line 82 of file SDL_hidapijoystick_c.h.

◆ seen

SDL_bool _SDL_HIDAPI_Device::seen

Definition at line 87 of file SDL_hidapijoystick_c.h.

◆ usage

Uint16 _SDL_HIDAPI_Device::usage

Definition at line 76 of file SDL_hidapijoystick_c.h.

◆ usage_page

Uint16 _SDL_HIDAPI_Device::usage_page

Definition at line 75 of file SDL_hidapijoystick_c.h.

◆ vendor_id

Uint16 _SDL_HIDAPI_Device::vendor_id

Definition at line 67 of file SDL_hidapijoystick_c.h.

◆ version

Uint16 _SDL_HIDAPI_Device::version

Definition at line 69 of file SDL_hidapijoystick_c.h.


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