Remove unneeded handcontrollertype code from handle first run checks

This commit is contained in:
Liv 2017-08-30 09:23:33 -07:00
parent 59deccaeb5
commit 2f2b406047

View file

@ -2746,13 +2746,8 @@ void Application::handleSandboxStatus(QNetworkReply* reply) {
// Get controller availability
bool hasHandControllers = false;
HandControllerType handControllerType = Vive;
if (PluginUtils::isViveControllerAvailable()) {
if (PluginUtils::isViveControllerAvailable() || PluginUtils::isOculusTouchControllerAvailable()) {
hasHandControllers = true;
handControllerType = Vive;
} else if (PluginUtils::isOculusTouchControllerAvailable()) {
hasHandControllers = true;
handControllerType = Oculus;
}
// Check HMD use (may be technically available without being in use)