History

Merge pull request #1046 from overte-org/fix/offscreen_ui_keyboard

Allow events from VR keyboard to overlay UI

Dale Glass committed 2 years ago

Commit a91ae5a2 parents 4d927b1 26de05a4 files · +32 −4Browse files

Showing the changes to interface/src/Application.cpp (1 of 4 files). Show all

Unified · Split

interface/src/Application.cpp+8−0
@@ -8594,6 +8594,14 @@ SharedSoundPointer Application::getSampleSound() const { · 8593 unmodified lines
8594 return _sampleSound;8594 return _sampleSound;
8595}8595}
8596 8596
8597void 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
8597void Application::loadLODToolsDialog() {8605void Application::loadLODToolsDialog() {
8598 auto tabletScriptingInterface = DependencyManager::get<TabletScriptingInterface>();8606 auto tabletScriptingInterface = DependencyManager::get<TabletScriptingInterface>();
8599 auto tablet = dynamic_cast<TabletProxy*>(tabletScriptingInterface->getTablet(SYSTEM_TABLET));8607 auto tablet = dynamic_cast<TabletProxy*>(tabletScriptingInterface->getTablet(SYSTEM_TABLET));

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t