HID/HostDevice.h
Go to the documentation of this file.
44 {
51 reportReceivedCallback(report);
65 using MountCallback = Delegate<HostDevice*(const HostInterface::Instance& inst, const Report& report)>;
Delegate< void(const Report &report)> ReportReceived
Definition: HID/HostDevice.h:51
void onMount(MountCallback callback)
Application should call this method to receive device connection notifications.
Definition: HID/HostDevice.h:48
Definition: HID/HostDevice.h:44
void reportReceived(const Report &report)
Definition: HID/HostDevice.h:65
unsigned parse(tuh_hid_report_info_t report_info_arr[], unsigned arr_count) const
uint8_t idx
Index or instance value specific to class.
Definition: HostInterface.h:88
uint8_t dev_addr
Device address (from 1)
Definition: HostInterface.h:87
void onUnmount(UnmountCallback callback)
Application should call this method to receive device disconnection notifications.
Definition: Delegate.h:20
Definition: Libraries/USB/src/USB/HID/Device.h:24