SDL_hid_device * SDL_hid_open(unsigned short vendor_id, unsigned short product_id, const wchar_t *serial_number)
struct SDL_hid_device SDL_hid_device
int SDL_hid_get_product_string(SDL_hid_device *dev, wchar_t *string, size_t maxlen)
int SDL_hid_get_report_descriptor(SDL_hid_device *dev, unsigned char *buf, size_t buf_size)
int SDL_hid_read(SDL_hid_device *dev, unsigned char *data, size_t length)
int SDL_hid_close(SDL_hid_device *dev)
Uint32 SDL_hid_device_change_count(void)
@ SDL_HID_API_BUS_UNKNOWN
@ SDL_HID_API_BUS_BLUETOOTH
int SDL_hid_get_feature_report(SDL_hid_device *dev, unsigned char *data, size_t length)
SDL_hid_device * SDL_hid_open_path(const char *path)
int SDL_hid_get_serial_number_string(SDL_hid_device *dev, wchar_t *string, size_t maxlen)
int SDL_hid_get_manufacturer_string(SDL_hid_device *dev, wchar_t *string, size_t maxlen)
void SDL_hid_free_enumeration(SDL_hid_device_info *devs)
int SDL_hid_get_input_report(SDL_hid_device *dev, unsigned char *data, size_t length)
void SDL_hid_ble_scan(bool active)
int SDL_hid_get_indexed_string(SDL_hid_device *dev, int string_index, wchar_t *string, size_t maxlen)
SDL_hid_device_info * SDL_hid_enumerate(unsigned short vendor_id, unsigned short product_id)
int SDL_hid_write(SDL_hid_device *dev, const unsigned char *data, size_t length)
int SDL_hid_send_feature_report(SDL_hid_device *dev, const unsigned char *data, size_t length)
SDL_hid_device_info * SDL_hid_get_device_info(SDL_hid_device *dev)
int SDL_hid_set_nonblocking(SDL_hid_device *dev, int nonblock)
int SDL_hid_read_timeout(SDL_hid_device *dev, unsigned char *data, size_t length, int milliseconds)
unsigned short product_id
SDL_hid_bus_type bus_type
struct SDL_hid_device_info * next
wchar_t * manufacturer_string
unsigned short usage_page
unsigned short release_number