#include <hid.h>
Fonctions membres publiques | |
HID (USBHost *pusb) | |
const USBHost * | GetUsb () |
virtual uint32_t | SetReportParser (uint32_t id, HIDReportParser *prs) |
uint32_t | SetProtocol (uint32_t iface, uint32_t protocol) |
uint32_t | GetProtocol (uint32_t iface, uint8_t *dataptr) |
uint32_t | GetIdle (uint32_t iface, uint32_t reportID, uint8_t *dataptr) |
uint32_t | SetIdle (uint32_t iface, uint32_t reportID, uint32_t duration) |
uint32_t | GetReportDescr (uint32_t ep, USBReadParser *parser=NULL) |
uint32_t | GetHidDescr (uint32_t ep, uint32_t nbytes, uint8_t *dataptr) |
uint32_t | GetReport (uint32_t ep, uint32_t iface, uint32_t report_type, uint32_t report_id, uint32_t nbytes, uint8_t *dataptr) |
uint32_t | SetReport (uint32_t ep, uint32_t iface, uint32_t report_type, uint32_t report_id, uint32_t nbytes, uint8_t *dataptr) |
|
inline |
uint32_t HID::GetHidDescr | ( | uint32_t | ep, |
uint32_t | nbytes, | ||
uint8_t * | dataptr | ||
) |
uint32_t HID::GetIdle | ( | uint32_t | iface, |
uint32_t | reportID, | ||
uint8_t * | dataptr | ||
) |
uint32_t HID::GetProtocol | ( | uint32_t | iface, |
uint8_t * | dataptr | ||
) |
uint32_t HID::GetReport | ( | uint32_t | ep, |
uint32_t | iface, | ||
uint32_t | report_type, | ||
uint32_t | report_id, | ||
uint32_t | nbytes, | ||
uint8_t * | dataptr | ||
) |
uint32_t HID::GetReportDescr | ( | uint32_t | ep, |
USBReadParser * | parser = NULL |
||
) |
|
inline |
uint32_t HID::SetIdle | ( | uint32_t | iface, |
uint32_t | reportID, | ||
uint32_t | duration | ||
) |
uint32_t HID::SetProtocol | ( | uint32_t | iface, |
uint32_t | protocol | ||
) |
uint32_t HID::SetReport | ( | uint32_t | ep, |
uint32_t | iface, | ||
uint32_t | report_type, | ||
uint32_t | report_id, | ||
uint32_t | nbytes, | ||
uint8_t * | dataptr | ||
) |
|
virtual |
Réimplémentée dans HIDBoot< BOOT_PROTOCOL >, HIDBoot< HID_PROTOCOL_KEYBOARD >, HIDBoot< HID_PROTOCOL_MOUSE >, et HIDUniversal.