|
USB Host Shield 2.0
|
#include <hidcomposite.h>


Classes | |
| struct | HIDInterface |
| struct | ReportParser |
Protected Member Functions | |
| 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 () |
| virtual void | ParseHIDData (USBHID *hid, uint8_t ep, bool is_rpt_id, uint8_t len, uint8_t *buf) |
Protected Member Functions inherited from USBHID | |
| void | PrintEndpointDescriptor (const USB_ENDPOINT_DESCRIPTOR *ep_ptr) |
| void | PrintHidDescriptor (const USB_HID_DESCRIPTOR *pDesc) |
Protected Attributes | |
| 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 |
Protected Attributes inherited from USBHID | |
| USB * | pUsb |
| uint8_t | bAddress |
Static Protected Attributes | |
| static const uint16_t | constBuffLen = 64 |
Static Protected Attributes inherited from USBHID | |
| 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 24 of file hidcomposite.h.
| HIDComposite::HIDComposite | ( | USB * | p | ) |
Definition at line 20 of file hidcomposite.cpp.
Definition at line 32 of file hidcomposite.cpp.
|
protected |
Definition at line 43 of file hidcomposite.cpp.
|
protected |
Definition at line 289 of file hidcomposite.cpp.
Definition at line 364 of file hidcomposite.cpp.
|
protectedvirtual |
Reimplemented from USBHID.
Definition at line 83 of file hidcomposite.cpp.
Reimplemented in MiniDSP, PS4USB, PS5USB, PSBuzz, and SwitchProUSB.
Definition at line 76 of file hidcomposite.h.
|
inlineprotectedvirtual |
Definition at line 80 of file hidcomposite.h.
|
virtual |
Reimplemented from USBHID.
Definition at line 72 of file hidcomposite.cpp.
Reimplemented from USBDeviceConfig.
Definition at line 94 of file hidcomposite.cpp.
|
virtual |
Reimplemented from USBDeviceConfig.
Definition at line 354 of file hidcomposite.cpp.
|
virtual |
Reimplemented from USBDeviceConfig.
Reimplemented in HIDUniversal.
Definition at line 369 of file hidcomposite.cpp.
Reimplemented from USBDeviceConfig.
Definition at line 95 of file hidcomposite.h.
Definition at line 99 of file hidcomposite.h.
|
virtual |
Reimplemented from UsbConfigXtracter.
Reimplemented in HIDUniversal.
Definition at line 297 of file hidcomposite.cpp.
Definition at line 427 of file hidcomposite.cpp.
|
protected |
|
protected |
Definition at line 34 of file hidcomposite.h.
|
protected |
Definition at line 48 of file hidcomposite.h.
|
protected |
Definition at line 49 of file hidcomposite.h.
|
protected |
Definition at line 50 of file hidcomposite.h.
|
protected |
Definition at line 51 of file hidcomposite.h.
|
protected |
Definition at line 52 of file hidcomposite.h.
|
protected |
Definition at line 53 of file hidcomposite.h.
Definition at line 55 of file hidcomposite.h.
|
protected |
Definition at line 63 of file hidcomposite.h.
|
protected |
Definition at line 64 of file hidcomposite.h.
|
protected |
Definition at line 69 of file hidcomposite.h.
|
protected |
Definition at line 71 of file hidcomposite.h.
|
protected |
Definition at line 71 of file hidcomposite.h.