MCPcopy Create free account
hub / github.com/OpenStickCommunity/GP2040-CE / xinput_umount_cb

Method xinput_umount_cb

src/usbhostmanager.cpp:87–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87void USBHostManager::xinput_umount_cb(uint8_t dev_addr) {
88 if ( listeners.size() == 0 ) return;
89 for( std::vector<USBListener*>::iterator it = listeners.begin(); it != listeners.end(); it++ ){
90 (*it)->unmount(dev_addr);
91 }
92}
93
94void USBHostManager::xinput_report_received_cb(uint8_t dev_addr, uint8_t instance, uint8_t const* report, uint16_t len) {
95 if ( listeners.size() == 0 ) return;

Callers 1

tuh_xinput_umount_cbFunction · 0.80

Calls 2

beginMethod · 0.45
unmountMethod · 0.45

Tested by

no test coverage detected