USB Host Shield 2.0
|
#include <hiduniversal.h>
Protected Member Functions | |
virtual void | ParseHIDData (USBHID *hid, bool is_rpt_id, uint8_t len, uint8_t *buf) |
![]() | |
uint16_t | GetHidClassDescrLen (uint8_t type, uint8_t num) |
void | Initialize () |
HIDInterface * | FindInterface (uint8_t iface, uint8_t alt, uint8_t proto) |
void | ZeroMemory (uint8_t len, uint8_t *buf) |
HIDReportParser * | GetReportParser (uint8_t id) |
virtual uint8_t | OnInitSuccessful () |
![]() | |
void | PrintEndpointDescriptor (const USB_ENDPOINT_DESCRIPTOR *ep_ptr) |
void | PrintHidDescriptor (const USB_HID_DESCRIPTOR *pDesc) |
Additional Inherited Members | |
![]() | |
struct HIDComposite::ReportParser | rptParsers [MAX_REPORT_PARSERS] |
HID_CLASS_DESCRIPTOR_LEN_AND_TYPE | descrInfo [HID_MAX_HID_CLASS_DESCRIPTORS] |
uint8_t | bConfNum |
uint8_t | bNumIface |
uint8_t | bNumEP |
uint32_t | qNextPollTime |
uint8_t | pollInterval |
bool | bPollEnable |
EpInfo | epInfo [totalEndpoints] |
HIDInterface | hidInterfaces [maxHidInterfaces] |
bool | bHasReportId |
uint16_t | PID |
uint16_t | VID |
![]() | |
USB * | pUsb |
uint8_t | bAddress |
![]() | |
static const uint16_t | constBuffLen = 64 |
![]() | |
static const uint8_t | epInterruptInIndex = 1 |
static const uint8_t | epInterruptOutIndex = 2 |
static const uint8_t | maxHidInterfaces = 5 |
static const uint8_t | maxEpPerInterface = 2 |
static const uint8_t | totalEndpoints = (maxHidInterfaces * maxEpPerInterface + 1) |
Definition at line 23 of file hiduniversal.h.
|
inline |
Definition at line 45 of file hiduniversal.h.
|
inlineprotectedvirtual |
Reimplemented in MiniDSP, PS4USB, PS5USB, PSBuzz, and SwitchProUSB.
Definition at line 40 of file hiduniversal.h.
|
overridevirtual |
Reimplemented from HIDComposite.
Definition at line 20 of file hiduniversal.cpp.
|
inlineoverridevirtual |
Reimplemented from HIDComposite.
Definition at line 50 of file hiduniversal.h.