History

added mouselook script, reticle and icons need changes

Sam Gondelman committed 11 years ago

Commit 17322641 parent 156adb16 files · +263 −2Browse files

Showing the changes to interface/src/scripting/ControllerScriptingInterface.cpp (1 of 6 files). Show all

Unified · Split

interface/src/scripting/ControllerScriptingInterface.cpp+8−0
@@ -457,6 +457,14 @@ void ControllerScriptingInterface::resetAllDeviceBindings() { · 456 unmodified lines
457 Application::getUserInputMapper()->resetAllDeviceBindings();457 Application::getUserInputMapper()->resetAllDeviceBindings();
458}458}
459 459
460void ControllerScriptingInterface::resetDevice(unsigned int device) {
461 Application::getUserInputMapper()->resetDevice(device);
462}
463
464int ControllerScriptingInterface::findDevice(QString name) {
465 Application::getUserInputMapper()->findDevice(name);
466}
467
460InputController::InputController(int deviceTrackerId, int subTrackerId, QObject* parent) :468InputController::InputController(int deviceTrackerId, int subTrackerId, QObject* parent) :
461 AbstractInputController(),469 AbstractInputController(),
462 _deviceTrackerId(deviceTrackerId),470 _deviceTrackerId(deviceTrackerId),