Showing the changes to interface/src/scripting/ControllerScriptingInterface.cpp (1 of 3 files). Show all
Unified · Split
| @@ -297,6 +297,10 @@ AbstractInputController* ControllerScriptingInterface::createInputController(con · 296 unmodified lines | |||
| 297 | } | 297 | } |
| 298 | } | 298 | } |
| 299 | 299 | ||
| 300 | void ControllerScriptingInterface::releaseInputController(AbstractInputController* input) { | ||
| 301 | _inputControllers.erase(input->getKey()); | ||
| 302 | } | ||
| 303 | |||
| 300 | void ControllerScriptingInterface::updateInputControllers() { | 304 | void ControllerScriptingInterface::updateInputControllers() { |
| 301 | //TODO C++11 for (auto it = _inputControllers.begin(); it != _inputControllers.end(); it++) { | 305 | //TODO C++11 for (auto it = _inputControllers.begin(); it != _inputControllers.end(); it++) { |
| 302 | for (InputControllerMap::iterator it = _inputControllers.begin(); it != _inputControllers.end(); it++) { | 306 | for (InputControllerMap::iterator it = _inputControllers.begin(); it != _inputControllers.end(); it++) { |