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