From b9598a28f3e8e3a736e240b690f306ea578bbf87 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 82e38e2abb..1ca7011276 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -1392,7 +1392,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();