| 85 | } |
| 86 | |
| 87 | void 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 | |
| 94 | void 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; |
no test coverage detected