|
hidapi
|
Go to the source code of this file.
Functions | |
| HID_API_EXPORT hid_device *HID_API_CALL | hid_libusb_wrap_sys_device (intptr_t sys_dev, int interface_num) |
| Open a HID device using libusb_wrap_sys_device. See https://libusb.sourceforge.io/api-1.0/group__libusb__dev.html#ga98f783e115ceff4eaf88a60e6439563c, for details on libusb_wrap_sys_device. | |
| HID_API_EXPORT int HID_API_CALL | hid_libusb_error (hid_device *dev) |
| Similar to hid_error but gives a libusb error code. | |
| HID_API_EXPORT void HID_API_CALL | hid_libusb_set_write_timeout (hid_device *dev, unsigned int timeout) |
| Sets the timeout for hid_write operation. | |
| HID_API_EXPORT void HID_API_CALL | hid_libusb_set_send_output_report_timeout (hid_device *dev, unsigned int timeout) |
| Sets the timeout for hid_send_output_report operation. | |
| HID_API_EXPORT void HID_API_CALL | hid_libusb_set_send_feature_report_timeout (hid_device *dev, unsigned int timeout) |
| Sets the timeout for hid_send_feature_report operation. | |