Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all
Unified · Split
| @@ -2746,13 +2746,8 @@ void Application::handleSandboxStatus(QNetworkReply* reply) { · 2745 unmodified lines | ||
| 2746 | 2746 | |
| 2747 | 2747 | // Get controller availability |
| 2748 | 2748 | bool hasHandControllers = false; |
| 2749 | − HandControllerType handControllerType = Vive; | |
| 2750 | − if (PluginUtils::isViveControllerAvailable()) { | |
| 2751 | − hasHandControllers = true; | |
| 2752 | − handControllerType = Vive; | |
| 2753 | − } else if (PluginUtils::isOculusTouchControllerAvailable()) { | |
| 2749 | + if (PluginUtils::isViveControllerAvailable() || PluginUtils::isOculusTouchControllerAvailable()) { | |
| 2754 | 2750 | hasHandControllers = true; |
| 2755 | − handControllerType = Oculus; | |
| 2756 | 2751 | } |
| 2757 | 2752 | |
| 2758 | 2753 | // Check HMD use (may be technically available without being in use) |