From a72f8cac0effe0065706262accae69ed89f7a164 Mon Sep 17 00:00:00 2001 From: Ryan Huffman Date: Tue, 13 Dec 2016 13:42:51 -0800 Subject: [PATCH] Update to only send users to tutorial if they have Vive or Touch --- interface/src/Application.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index c5ffdf588a..93ce3a75b1 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -1420,7 +1420,11 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo bool hasTutorialContent = contentVersion >= 1; Setting::Handle firstRun { Settings::firstRun, true }; - bool hasHMDAndHandControllers = PluginUtils::isHMDAvailable() && PluginUtils::isHandControllerAvailable(); + + // Only specific hand controllers are currently supported, so only send users to the tutorial + // if they one of those. + bool hasHMDAndHandControllers = PluginUtils::isHMDAvailable() + && (PluginUtils::isViveControllerAvailable() || PluginUtils::isOculusTouchControllerAvailable()); Setting::Handle tutorialComplete { "tutorialComplete", false }; bool shouldGoToTutorial = hasHMDAndHandControllers && hasTutorialContent && !tutorialComplete.get();