Showing the changes to interface/src/scripting/HMDScriptingInterface.cpp (1 of 179 files). Show all
Unified · Split
| @@ -50,12 +50,17 @@ glm::vec2 HMDScriptingInterface::overlayToSpherical(const glm::vec2 & position) · 49 unmodified lines | |||
| 50 | return qApp->getApplicationCompositor().overlayToSpherical(position); | 50 | return qApp->getApplicationCompositor().overlayToSpherical(position); |
| 51 | } | 51 | } |
| 52 | 52 | ||
| 53 | bool HMDScriptingInterface::isHMDAvailable() { | 53 | bool HMDScriptingInterface::isHMDAvailable(const QString& name) { |
| 54 | return PluginUtils::isHMDAvailable(); | 54 | return PluginUtils::isHMDAvailable(name); |
| 55 | } | 55 | } |
| 56 | 56 | ||
| 57 | bool HMDScriptingInterface::isHandControllerAvailable() { | 57 | bool HMDScriptingInterface::isHandControllerAvailable(const QString& name) { |
| 58 | return PluginUtils::isHandControllerAvailable(); | 58 | return PluginUtils::isHandControllerAvailable(name); |
| 59 | } | ||
| 60 | |||
| 61 | |||
| 62 | bool HMDScriptingInterface::isSubdeviceContainingNameAvailable(const QString& name) { | ||
| 63 | return PluginUtils::isSubdeviceContainingNameAvailable(name); | ||
| 59 | } | 64 | } |
| 60 | 65 | ||
| 61 | void HMDScriptingInterface::requestShowHandControllers() { | 66 | void HMDScriptingInterface::requestShowHandControllers() { |