| 78 | } |
| 79 | |
| 80 | void USBHostManager::xinput_mount_cb(uint8_t dev_addr, uint8_t instance, uint8_t controllerType, uint8_t subtype) { |
| 81 | if ( listeners.size() == 0 ) return; |
| 82 | for( std::vector<USBListener*>::iterator it = listeners.begin(); it != listeners.end(); it++ ){ |
| 83 | (*it)->xmount(dev_addr, instance, controllerType, subtype); |
| 84 | } |
| 85 | } |
| 86 | |
| 87 | void USBHostManager::xinput_umount_cb(uint8_t dev_addr) { |
| 88 | if ( listeners.size() == 0 ) return; |
no test coverage detected