76struct SDL_hid_device_;
117 int interface_subclass;
118 int interface_protocol;
struct SDL_hid_device_ SDL_hid_device
Definition: SDL_hidapi.h:77
DECLSPEC int SDLCALL SDL_hid_get_serial_number_string(SDL_hid_device *dev, wchar_t *string, size_t maxlen)
DECLSPEC void SDLCALL SDL_hid_close(SDL_hid_device *dev)
DECLSPEC Uint32 SDLCALL SDL_hid_device_change_count(void)
DECLSPEC int SDLCALL SDL_hid_set_nonblocking(SDL_hid_device *dev, int nonblock)
DECLSPEC int SDLCALL SDL_hid_read_timeout(SDL_hid_device *dev, unsigned char *data, size_t length, int milliseconds)
DECLSPEC void SDLCALL SDL_hid_ble_scan(SDL_bool active)
DECLSPEC int SDLCALL SDL_hid_send_feature_report(SDL_hid_device *dev, const unsigned char *data, size_t length)
DECLSPEC SDL_hid_device_info *SDLCALL SDL_hid_enumerate(unsigned short vendor_id, unsigned short product_id)
DECLSPEC int SDLCALL SDL_hid_write(SDL_hid_device *dev, const unsigned char *data, size_t length)
DECLSPEC int SDLCALL SDL_hid_read(SDL_hid_device *dev, unsigned char *data, size_t length)
DECLSPEC int SDLCALL SDL_hid_exit(void)
DECLSPEC SDL_hid_device *SDLCALL SDL_hid_open_path(const char *path, int bExclusive)
DECLSPEC int SDLCALL SDL_hid_get_indexed_string(SDL_hid_device *dev, int string_index, wchar_t *string, size_t maxlen)
DECLSPEC int SDLCALL SDL_hid_get_feature_report(SDL_hid_device *dev, unsigned char *data, size_t length)
DECLSPEC int SDLCALL SDL_hid_get_manufacturer_string(SDL_hid_device *dev, wchar_t *string, size_t maxlen)
DECLSPEC int SDLCALL SDL_hid_get_product_string(SDL_hid_device *dev, wchar_t *string, size_t maxlen)
DECLSPEC SDL_hid_device *SDLCALL SDL_hid_open(unsigned short vendor_id, unsigned short product_id, const wchar_t *serial_number)
DECLSPEC void SDLCALL SDL_hid_free_enumeration(SDL_hid_device_info *devs)
DECLSPEC int SDLCALL SDL_hid_init(void)
Information about a connected HID device.
Definition: SDL_hidapi.h:84
unsigned short usage_page
Definition: SDL_hidapi.h:102
struct SDL_hid_device_info * next
Definition: SDL_hidapi.h:121
char * path
Definition: SDL_hidapi.h:86
int interface_number
Definition: SDL_hidapi.h:112
unsigned short usage
Definition: SDL_hidapi.h:105
unsigned short product_id
Definition: SDL_hidapi.h:90
wchar_t * product_string
Definition: SDL_hidapi.h:99
unsigned short vendor_id
Definition: SDL_hidapi.h:88
wchar_t * serial_number
Definition: SDL_hidapi.h:92
unsigned short release_number
Definition: SDL_hidapi.h:95
wchar_t * manufacturer_string
Definition: SDL_hidapi.h:97
int interface_class
Definition: SDL_hidapi.h:116