| 73 | } |
| 74 | |
| 75 | void InputEventManager::registerDevice(IInputDevice* device) |
| 76 | { |
| 77 | // Make sure the device is not already registered |
| 78 | for(U32 i=0; i<mDeviceList.size(); ++i) |
| 79 | { |
| 80 | if(mDeviceList[i] == device) |
| 81 | return; |
| 82 | } |
| 83 | |
| 84 | // Add the new device to the list |
| 85 | mDeviceList.push_back(device); |
| 86 | } |
| 87 | |
| 88 | void InputEventManager::unregisterDevice(IInputDevice* device) |
| 89 | { |
no test coverage detected