Home
last modified time | relevance | path

Searched defs:_SDL_HIDAPI_DeviceDriver (Results 1 – 1 of 1) sorted by relevance

/AliOS-Things-master/components/SDL2/src/joystick/hidapi/
A DSDL_hidapijoystick_c.h85 typedef struct _SDL_HIDAPI_DeviceDriver struct
87 const char *hint;
88 SDL_bool enabled;
90 const char *(*GetDeviceName)(Uint16 vendor_id, Uint16 product_id);
91 SDL_bool (*InitDevice)(SDL_HIDAPI_Device *device);
92 int (*GetDevicePlayerIndex)(SDL_HIDAPI_Device *device, SDL_JoystickID instance_id);
94 SDL_bool (*UpdateDevice)(SDL_HIDAPI_Device *device);
95 SDL_bool (*OpenJoystick)(SDL_HIDAPI_Device *device, SDL_Joystick *joystick);
97 void (*CloseJoystick)(SDL_HIDAPI_Device *device, SDL_Joystick *joystick);
98 void (*FreeDevice)(SDL_HIDAPI_Device *device);
[all …]

Completed in 3 milliseconds