Allow events from VR keyboard to overlay UI
Showing the changes to interface/src/Application.cpp (1 of 4 files). Show all
Unified · Split
| @@ -8594,6 +8594,14 @@ SharedSoundPointer Application::getSampleSound() const { · 8593 unmodified lines | ||
| 8594 | 8594 | return _sampleSound; |
| 8595 | 8595 | } |
| 8596 | 8596 | |
| 8597 | +void Application::showVRKeyboardForHudUI(bool show) { | |
| 8598 | + if (show) { | |
| 8599 | + DependencyManager::get<Keyboard>()->setRaised(true, true); | |
| 8600 | + } else { | |
| 8601 | + DependencyManager::get<Keyboard>()->setRaised(false); | |
| 8602 | + } | |
| 8603 | +} | |
| 8604 | + | |
| 8597 | 8605 | void Application::loadLODToolsDialog() { |
| 8598 | 8606 | auto tabletScriptingInterface = DependencyManager::get<TabletScriptingInterface>(); |
| 8599 | 8607 | auto tablet = dynamic_cast<TabletProxy*>(tabletScriptingInterface->getTablet(SYSTEM_TABLET)); |