Showing the changes to interface/src/scripting/ControllerScriptingInterface.cpp (1 of 10 files). Show all
Unified · Split
| @@ -89,6 +89,11 @@ void ControllerScriptingInterface::setVPadEnabled(const bool enable) { · 88 unmodified lines | |||
| 89 | virtualPadManager.enable(enable); | 89 | virtualPadManager.enable(enable); |
| 90 | } | 90 | } |
| 91 | 91 | ||
| 92 | void ControllerScriptingInterface::setVPadHidden(const bool hidden) { | ||
| 93 | auto& virtualPadManager = VirtualPad::Manager::instance(); | ||
| 94 | virtualPadManager.hide(hidden); | ||
| 95 | } | ||
| 96 | |||
| 92 | void ControllerScriptingInterface::emitKeyPressEvent(QKeyEvent* event) { emit keyPressEvent(KeyEvent(*event)); } | 97 | void ControllerScriptingInterface::emitKeyPressEvent(QKeyEvent* event) { emit keyPressEvent(KeyEvent(*event)); } |
| 93 | void ControllerScriptingInterface::emitKeyReleaseEvent(QKeyEvent* event) { emit keyReleaseEvent(KeyEvent(*event)); } | 98 | void ControllerScriptingInterface::emitKeyReleaseEvent(QKeyEvent* event) { emit keyReleaseEvent(KeyEvent(*event)); } |
| 94 | 99 | ||