Go to the source code of this file.
Defines | |
#define | USBOPEN_ERR_ACCESS 1 /* not enough permissions to open device */ |
#define | USBOPEN_ERR_IO 2 /* I/O error */ |
#define | USBOPEN_ERR_NOTFOUND 3 /* device not found */ |
#define | USBOPEN_SUCCESS 0 /* no error */ |
Typedefs | |
typedef struct usbDevice | usbDevice_t |
Functions | |
void | usbhidCloseDevice (usbDevice_t *device) |
int | usbhidGetReport (usbDevice_t *device, int reportID, char *buffer, int *len) |
int | usbhidOpenDevice (usbDevice_t **device, int vendorID, char *vendorName, int productID, char *productName, int usesReportIDs) |
int | usbhidSetReport (usbDevice_t *device, char *buffer, int len) |
#define USBOPEN_ERR_ACCESS 1 /* not enough permissions to open device */ |
#define USBOPEN_ERR_IO 2 /* I/O error */ |
#define USBOPEN_ERR_NOTFOUND 3 /* device not found */ |
#define USBOPEN_SUCCESS 0 /* no error */ |
typedef struct usbDevice usbDevice_t |
void usbhidCloseDevice | ( | usbDevice_t * | device | ) |
Definition at line 291 of file hiddata.cpp.
int usbhidGetReport | ( | usbDevice_t * | device, |
int | reportID, | ||
char * | buffer, | ||
int * | len | ||
) |
Definition at line 341 of file hiddata.cpp.
int usbhidOpenDevice | ( | usbDevice_t ** | device, |
int | vendorID, | ||
char * | vendorName, | ||
int | productID, | ||
char * | productName, | ||
int | usesReportIDs | ||
) |
Definition at line 207 of file hiddata.cpp.
int usbhidSetReport | ( | usbDevice_t * | device, |
char * | buffer, | ||
int | len | ||
) |
Definition at line 299 of file hiddata.cpp.