Remove unneeded handcontrollertype code from handle first run checks

This commit is contained in:
Liv 2017-08-30 09:23:33 -07:00 committed by vladest
parent 7ee2ac736e
commit 758fc53882

View file

@ -2803,13 +2803,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)