Showing the changes to interface/src/scripting/HMDScriptingInterface.cpp (1 of 9 files). Show all
Unified · Split
| @@ -115,3 +115,15 @@ bool HMDScriptingInterface::setHandLasers(int hands, bool enabled, const glm::ve · 114 unmodified lines | |||
| 115 | void HMDScriptingInterface::disableHandLasers(int hands) const { | 115 | void HMDScriptingInterface::disableHandLasers(int hands) const { |
| 116 | qApp->getActiveDisplayPlugin()->setHandLaser(hands, DisplayPlugin::HandLaserMode::None); | 116 | qApp->getActiveDisplayPlugin()->setHandLaser(hands, DisplayPlugin::HandLaserMode::None); |
| 117 | } | 117 | } |
| 118 | |||
| 119 | bool HMDScriptingInterface::suppressKeyboard() { | ||
| 120 | return qApp->getActiveDisplayPlugin()->suppressKeyboard(); | ||
| 121 | } | ||
| 122 | |||
| 123 | void HMDScriptingInterface::unsuppressKeyboard() { | ||
| 124 | qApp->getActiveDisplayPlugin()->unsuppressKeyboard(); | ||
| 125 | } | ||
| 126 | |||
| 127 | bool HMDScriptingInterface::isKeyboardVisible() { | ||
| 128 | return qApp->getActiveDisplayPlugin()->isKeyboardVisible(); | ||
| 129 | } | ||