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