SDL  2.0
SDL_HIDAPI_DeviceDriver Struct Reference

#include <SDL_hidapijoystick_c.h>

Data Fields

const char * hint
 
SDL_bool enabled
 
SDL_bool(* IsSupportedDevice )(Uint16 vendor_id, Uint16 product_id, Uint16 version, int interface_number)
 
const char *(* GetDeviceName )(Uint16 vendor_id, Uint16 product_id)
 
SDL_bool(* Init )(SDL_Joystick *joystick, hid_device *dev, Uint16 vendor_id, Uint16 product_id, void **context)
 
int(* Rumble )(SDL_Joystick *joystick, hid_device *dev, void *context, Uint16 low_frequency_rumble, Uint16 high_frequency_rumble, Uint32 duration_ms)
 
SDL_bool(* Update )(SDL_Joystick *joystick, hid_device *dev, void *context)
 
void(* Quit )(SDL_Joystick *joystick, hid_device *dev, void *context)
 

Detailed Description

Definition at line 46 of file SDL_hidapijoystick_c.h.

Field Documentation

SDL_bool SDL_HIDAPI_DeviceDriver::enabled

Definition at line 49 of file SDL_hidapijoystick_c.h.

const char*(* SDL_HIDAPI_DeviceDriver::GetDeviceName)(Uint16 vendor_id, Uint16 product_id)

Definition at line 51 of file SDL_hidapijoystick_c.h.

const char* SDL_HIDAPI_DeviceDriver::hint

Definition at line 48 of file SDL_hidapijoystick_c.h.

SDL_bool(* SDL_HIDAPI_DeviceDriver::Init)(SDL_Joystick *joystick, hid_device *dev, Uint16 vendor_id, Uint16 product_id, void **context)

Definition at line 52 of file SDL_hidapijoystick_c.h.

SDL_bool(* SDL_HIDAPI_DeviceDriver::IsSupportedDevice)(Uint16 vendor_id, Uint16 product_id, Uint16 version, int interface_number)

Definition at line 50 of file SDL_hidapijoystick_c.h.

void(* SDL_HIDAPI_DeviceDriver::Quit)(SDL_Joystick *joystick, hid_device *dev, void *context)

Definition at line 55 of file SDL_hidapijoystick_c.h.

int(* SDL_HIDAPI_DeviceDriver::Rumble)(SDL_Joystick *joystick, hid_device *dev, void *context, Uint16 low_frequency_rumble, Uint16 high_frequency_rumble, Uint32 duration_ms)

Definition at line 53 of file SDL_hidapijoystick_c.h.

SDL_bool(* SDL_HIDAPI_DeviceDriver::Update)(SDL_Joystick *joystick, hid_device *dev, void *context)

Definition at line 54 of file SDL_hidapijoystick_c.h.


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