18 #if !defined(__HIDUNIVERSAL_H__)
19 #define __HIDUNIVERSAL_H__
25 bool SelectInterface(uint8_t iface __attribute__((unused)), uint8_t proto __attribute__((unused)))
final {
32 void ParseHIDData(
USBHID *hid, uint8_t ep __attribute__((unused)),
bool is_rpt_id, uint8_t len, uint8_t *buf)
final {
36 ParseHIDData(hid, is_rpt_id, len, buf);
40 virtual void ParseHIDData(
USBHID *hid __attribute__((unused)),
bool is_rpt_id __attribute__((unused)), uint8_t len __attribute__((unused)), uint8_t *buf __attribute__((unused))) {
47 uint8_t
Poll()
override;
void EndpointXtract(uint8_t conf, uint8_t iface, uint8_t alt, uint8_t proto, const USB_ENDPOINT_DESCRIPTOR *ep)
void EndpointXtract(uint8_t conf, uint8_t iface, uint8_t alt, uint8_t proto, const USB_ENDPOINT_DESCRIPTOR *ep) override
virtual void ParseHIDData(USBHID *hid, bool is_rpt_id, uint8_t len, uint8_t *buf)