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
85948594 return _sampleSound;
85958595 }
85968596
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+
85978605 void Application::loadLODToolsDialog() {
85988606 auto tabletScriptingInterface = DependencyManager::get<TabletScriptingInterface>();
85998607 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