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 | 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 | 468 | InputController::InputController(int deviceTrackerId, int subTrackerId, QObject* parent) : |
| 461 | 469 | AbstractInputController(), |
| 462 | 470 | _deviceTrackerId(deviceTrackerId), |