
Go to the source code of this file.
Defines | |
| #define | USB_HID_REPORT_TYPE_FEATURE 3 |
| #define | usbDevice usb_dev_handle /* use libusb's device structure */ |
| #define | USBRQ_HID_GET_REPORT 0x01 |
| #define | USBRQ_HID_SET_REPORT 0x09 |
Functions | |
| void | usbhidCloseDevice (usbDevice_t *device) |
| int | usbhidGetReport (usbDevice_t *device, int reportNumber, char *buffer, int *len) |
| static int | usbhidGetStringAscii (usb_dev_handle *dev, int index, char *buf, int buflen) |
| int | usbhidOpenDevice (usbDevice_t **device, int vendor, char *vendorName, int product, char *productName, int _usesReportIDs) |
| int | usbhidSetReport (usbDevice_t *device, char *buffer, int len) |
Variables | |
| static int | usesReportIDs |
| #define USB_HID_REPORT_TYPE_FEATURE 3 |
Definition at line 172 of file hiddata.cpp.
Definition at line 165 of file hiddata.cpp.
| #define USBRQ_HID_GET_REPORT 0x01 |
Definition at line 169 of file hiddata.cpp.
| #define USBRQ_HID_SET_REPORT 0x09 |
Definition at line 170 of file hiddata.cpp.
| void usbhidCloseDevice | ( | usbDevice_t * | device | ) |
Definition at line 291 of file hiddata.cpp.
| int usbhidGetReport | ( | usbDevice_t * | device, |
| int | reportNumber, | ||
| char * | buffer, | ||
| int * | len | ||
| ) |
Definition at line 341 of file hiddata.cpp.
| static int usbhidGetStringAscii | ( | usb_dev_handle * | dev, |
| int | index, | ||
| char * | buf, | ||
| int | buflen | ||
| ) | [static] |
Definition at line 179 of file hiddata.cpp.
| int usbhidOpenDevice | ( | usbDevice_t ** | device, |
| int | vendor, | ||
| char * | vendorName, | ||
| int | product, | ||
| 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.
int usesReportIDs [static] |
Definition at line 175 of file hiddata.cpp.