9 #ifndef _WIN32 // patch for MRPT 60 "libusb_kernel_driver_active");
63 "libusb_attach_kernel_driver");
66 "libusb_detach_kernel_driver");
70 "libusb_unref_device");
73 "libusb_claim_interface");
76 "libusb_release_interface");
79 "libusb_get_active_config_descriptor");
82 "libusb_free_config_descriptor");
85 "libusb_get_bus_number");
90 "libusb_get_device_address");
93 "libusb_get_device_descriptor");
96 "libusb_get_device_list");
99 "libusb_free_device_list");
102 "libusb_get_string_descriptor_ascii");
105 "libusb_bulk_transfer");
127 return LIBUSB_ERROR_NOT_SUPPORTED;
158 int XsLibUsb::open(libusb_device* dev, libusb_device_handle** handle)
163 return LIBUSB_ERROR_NOT_SUPPORTED;
197 libusb_device_handle* dev,
int interface_number)
202 return LIBUSB_ERROR_NOT_SUPPORTED;
227 libusb_device_handle* dev,
int interface_number)
232 return LIBUSB_ERROR_NOT_SUPPORTED;
253 libusb_device_handle* dev,
int interface_number)
258 return LIBUSB_ERROR_NOT_SUPPORTED;
312 return LIBUSB_ERROR_NOT_SUPPORTED;
335 return LIBUSB_ERROR_NOT_SUPPORTED;
354 libusb_device* dev,
struct libusb_config_descriptor** config)
359 return LIBUSB_ERROR_NOT_SUPPORTED;
424 libusb_device* dev,
struct libusb_device_descriptor* desc)
429 return LIBUSB_ERROR_NOT_SUPPORTED;
456 return LIBUSB_ERROR_NOT_SUPPORTED;
484 libusb_device_handle* dev,
uint8_t desc_index,
unsigned char*
data,
491 return LIBUSB_ERROR_NOT_SUPPORTED;
533 libusb_device_handle* dev_handle,
unsigned char endpoint,
534 unsigned char*
data,
int length,
int* actual_length,
unsigned int timeout)
538 dev_handle, endpoint,
data,
length, actual_length, timeout);
540 return LIBUSB_ERROR_NOT_SUPPORTED;
576 #endif // patch for MRPT XsLibraryLoader * m_libraryLoader
libUSB_attach_kernel_driver attach_kernel_driver
int libUSB_get_device_descriptor(libusb_device *dev, struct libusb_device_descriptor *desc)
libUSB_set_debug * set_debug
int libUSB_get_active_config_descriptor(libusb_device *dev, struct libusb_config_descriptor **config)
libUSB_unref_device unref_device
libUSB_get_bus_number * get_bus_number
libUSB_unref_device * unref_device
int libUSB_claim_interface(libusb_device_handle *dev, int interface_number)
struct XsLibraryLoader XsLibraryLoader
libUSB_free_config_descriptor free_config_descriptor
libUSB_ref_device * ref_device
void libUSB_set_debug(libusb_context *ctx, int level)
libUSB_get_active_config_descriptor * get_active_config_descriptor
void libUSB_close(libusb_device_handle *dev_handle)
libUSB_get_string_descriptor_ascii get_string_descriptor_ascii
libUSB_free_device_list free_device_list
libUSB_bulk_transfer * bulk_transfer
void libUSB_free_device_list(libusb_device **list, int unref_devices)
libUSB_get_string_descriptor_ascii * get_string_descriptor_ascii
libUSB_claim_interface * claim_interface
libUSB_get_device_list get_device_list
ssize_t libUSB_get_device_list(libusb_context *ctx, libusb_device ***list)
libUSB_get_device_descriptor * get_device_descriptor
libUSB_claim_interface claim_interface
int libUSB_get_string_descriptor_ascii(libusb_device_handle *dev, uint8_t desc_index, unsigned char *data, int length)
libUSB_get_device_descriptor get_device_descriptor
libUSB_kernel_driver_active * kernel_driver_active
int libUSB_detach_kernel_driver(libusb_device_handle *dev, int interface_number)
libUSB_detach_kernel_driver * detach_kernel_driver
void libUSB_exit(libusb_context *ctx)
libUSB_set_debug set_debug
libUSB_get_device get_device
libUSB_attach_kernel_driver * attach_kernel_driver
libUSB_get_device_address * get_device_address
libUSB_kernel_driver_active kernel_driver_active
void libUSB_unref_device(libusb_device *dev)
uint8_t libUSB_get_device_address(libusb_device *dev)
void libUSB_free_config_descriptor(struct libusb_config_descriptor *config)
libUSB_detach_kernel_driver detach_kernel_driver
libUSB_get_device_list * get_device_list
libUSB_free_device_list * free_device_list
int libUSB_kernel_driver_active(libusb_device_handle *dev, int interface_number)
GLuint GLsizei GLsizei * length
libUSB_get_device * get_device
int libUSB_attach_kernel_driver(libusb_device_handle *dev, int interface_number)
libusb_device * libUSB_get_device(libusb_device_handle *dev_handle)
libUSB_get_device_address get_device_address
int libUSB_open(libusb_device *dev, libusb_device_handle **handle)
int libUSB_bulk_transfer(libusb_device_handle *dev_handle, unsigned char endpoint, unsigned char *data, int length, int *actual_length, unsigned int timeout)
libUSB_release_interface release_interface
libUSB_get_bus_number get_bus_number
GLsizei GLsizei GLenum GLenum const GLvoid * data
libusb_device * libUSB_ref_device(libusb_device *dev)
libUSB_get_active_config_descriptor get_active_config_descriptor
libUSB_release_interface * release_interface
int libUSB_init(libusb_context **ctx)
libUSB_free_config_descriptor * free_config_descriptor
uint8_t libUSB_get_bus_number(libusb_device *dev)
int libUSB_release_interface(libusb_device_handle *dev, int interface_number)
libUSB_bulk_transfer bulk_transfer
libUSB_ref_device ref_device