Showing the changes to interface/src/scripting/ControllerScriptingInterface.cpp (1 of 6 files). Show all
Unified · Split
| @@ -457,6 +457,14 @@ void ControllerScriptingInterface::resetAllDeviceBindings() { · 456 unmodified lines | |||
| 457 | Application::getUserInputMapper()->resetAllDeviceBindings(); | 457 | Application::getUserInputMapper()->resetAllDeviceBindings(); |
| 458 | } | 458 | } |
| 459 | 459 | ||
| 460 | void ControllerScriptingInterface::resetDevice(unsigned int device) { | ||
| 461 | Application::getUserInputMapper()->resetDevice(device); | ||
| 462 | } | ||
| 463 | |||
| 464 | int ControllerScriptingInterface::findDevice(QString name) { | ||
| 465 | Application::getUserInputMapper()->findDevice(name); | ||
| 466 | } | ||
| 467 | |||
| 460 | InputController::InputController(int deviceTrackerId, int subTrackerId, QObject* parent) : | 468 | InputController::InputController(int deviceTrackerId, int subTrackerId, QObject* parent) : |
| 461 | AbstractInputController(), | 469 | AbstractInputController(), |
| 462 | _deviceTrackerId(deviceTrackerId), | 470 | _deviceTrackerId(deviceTrackerId), |