mirror of
https://github.com/lubosz/overte.git
synced 2025-04-26 23:55:34 +02:00
Fix logic for cases with rift headset but no touch controllers.
This commit is contained in:
parent
34224c4f16
commit
60832b071c
1 changed files with 10 additions and 2 deletions
|
@ -3414,10 +3414,18 @@ void Application::showHelp() {
|
|||
defaultTab = TAB_HAND_CONTROLLERS;
|
||||
handControllerName = HAND_CONTROLLER_NAME_VIVE;
|
||||
} else if (PluginUtils::isHMDAvailable(OCULUS_RIFT_PLUGIN_NAME)) {
|
||||
defaultTab = TAB_HAND_CONTROLLERS;
|
||||
handControllerName = HAND_CONTROLLER_NAME_OCULUS_TOUCH;
|
||||
if (PluginUtils::isOculusTouchControllerAvailable()) {
|
||||
defaultTab = TAB_HAND_CONTROLLERS;
|
||||
handControllerName = HAND_CONTROLLER_NAME_OCULUS_TOUCH;
|
||||
} else if (PluginUtils::isXboxControllerAvailable()) {
|
||||
defaultTab = TAB_GAMEPAD;
|
||||
} else {
|
||||
defaultTab = TAB_KEYBOARD_MOUSE;
|
||||
}
|
||||
} else if (PluginUtils::isXboxControllerAvailable()) {
|
||||
defaultTab = TAB_GAMEPAD;
|
||||
} else {
|
||||
defaultTab = TAB_KEYBOARD_MOUSE;
|
||||
}
|
||||
|
||||
QUrlQuery queryString;
|
||||
|
|
Loading…
Reference in a new issue