| 104 | } |
| 105 | |
| 106 | static IOHIDDevice* GetParent(const IOService *current) |
| 107 | { |
| 108 | Xbox360Peripheral *owner; |
| 109 | |
| 110 | owner = OSDynamicCast(Xbox360Peripheral, current->getProvider()); |
| 111 | if (owner == NULL) |
| 112 | return NULL; |
| 113 | return owner->getController(0); |
| 114 | } |
| 115 | |
| 116 | bool ChatPadKeyboardClass::start(IOService *provider) |
| 117 | { |
no test coverage detected