52 #define USBH_EVENT_HID_SETRPT USBH_HID_EVENT_BASE + 0 53 #define USBH_EVENT_HID_REPORT USBH_HID_EVENT_BASE + 1 58 #define USBH_EVENT_HID_KB_PRESS USBH_HID_EVENT_BASE + 16 63 #define USBH_EVENT_HID_KB_REL USBH_HID_EVENT_BASE + 17 68 #define USBH_EVENT_HID_KB_MOD USBH_HID_EVENT_BASE + 18 73 #define USBH_EVENT_HID_MS_PRESS USBH_HID_EVENT_BASE + 32 78 #define USBH_EVENT_HID_MS_REL USBH_HID_EVENT_BASE + 33 83 #define USBH_EVENT_HID_MS_X USBH_HID_EVENT_BASE + 34 88 #define USBH_EVENT_HID_MS_Y USBH_HID_EVENT_BASE + 35 141 uint8_t ui8ReportID);
143 uint32_t ui32BootProtocol);
145 uint32_t ui32Interface, uint8_t *pui8Data,
148 uint32_t ui32Interface, uint8_t *pui8Data,
164 #endif // __USBHHID_H__ uint32_t USBHHIDGetReportDescriptor(tHIDInstance *psHIDInstance, uint8_t *pui8Buffer, uint32_t ui32Size)
Definition: usbhhid.c:479
tUSBCallback pfnCallback
Definition: usbhhid.c:70
tHIDSubClassProtocol iDeviceType
Definition: usbhhid.c:80
tHIDSubClassProtocol
Definition: usbhhid.h:96
Definition: usbdhid.h:666
uint32_t USBHHIDLPMStatus(tHIDInstance *psHIDInstance)
Definition: usbhhid.c:731
Definition: usbhhid.h:102
const tUSBHostClassDriver g_sUSBHIDClassDriver
Definition: usbhhid.c:101
uint32_t USBHHIDSetProtocol(tHIDInstance *psHIDInstance, uint32_t ui32BootProtocol)
Definition: usbhhid.c:537
uint32_t USBHHIDSetIdle(tHIDInstance *psHIDInstance, uint8_t ui8Duration, uint8_t ui8ReportID)
Definition: usbhhid.c:423
This is a keyboard device.
Definition: usbhhid.h:107
Definition: usbhost.h:156
This is a mouse device.
Definition: usbhhid.h:112
uint32_t USBHHIDSetReport(tHIDInstance *psHIDInstance, uint32_t ui32Interface, uint8_t *pui8Data, uint32_t ui32Size)
Definition: usbhhid.c:642
uint32_t(* tUSBCallback)(void *pvCBData, uint32_t ui32Event, uint32_t ui32MsgParam, void *pvMsgData)
Definition: usblib.h:1220
uint32_t USBHHIDLPMSleep(tHIDInstance *psHIDInstance)
Definition: usbhhid.c:703
uint32_t USBHHIDGetReport(tHIDInstance *psHIDInstance, uint32_t ui32Interface, uint8_t *pui8Data, uint32_t ui32Size)
Definition: usbhhid.c:608
void * pvCBData
Definition: usbhhid.c:75
void USBHHIDClose(tHIDInstance *psHIDInstance)
Definition: usbhhid.c:186
This is a vendor specific device.
Definition: usbhhid.h:117
tHIDInstance * USBHHIDOpen(tHIDSubClassProtocol iDeviceType, tUSBCallback pfnCallback, void *pvCBData)
Definition: usbhhid.c:137