| 161 | } |
| 162 | |
| 163 | void DeinitializeInput() |
| 164 | { |
| 165 | TENLog("Shutting down OIS...", LogLevel::Info); |
| 166 | |
| 167 | if (OisKeyboard != nullptr) |
| 168 | OisInputManager->destroyInputObject(OisKeyboard); |
| 169 | |
| 170 | if (OisMouse != nullptr) |
| 171 | OisInputManager->destroyInputObject(OisMouse); |
| 172 | |
| 173 | if (OisGamepad != nullptr) |
| 174 | OisInputManager->destroyInputObject(OisGamepad); |
| 175 | |
| 176 | if (OisEffect != nullptr) |
| 177 | { |
| 178 | delete OisEffect; |
| 179 | OisEffect = nullptr; |
| 180 | } |
| 181 | |
| 182 | OIS::InputManager::destroyInputSystem(OisInputManager); |
| 183 | } |
| 184 | |
| 185 | void SetInputLockState(bool locked) |
| 186 | { |
no test coverage detected