Showing the changes to interface/src/scripting/PlatformInfoScriptingInterface.cpp (1 of 4 files). Show all
Unified · Split
| @@ -125,3 +125,11 @@ QString PlatformInfoScriptingInterface::getGraphicsCardType() { · 124 unmodified lines | ||
| 125 | 125 | return QString("NO IMPLEMENTED"); |
| 126 | 126 | #endif |
| 127 | 127 | } |
| 128 | + | |
| 129 | +bool PlatformInfoScriptingInterface::hasRiftControllers() { | |
| 130 | + return qApp->hasRiftControllers(); | |
| 131 | +} | |
| 132 | + | |
| 133 | +bool PlatformInfoScriptingInterface::hasViveControllers() { | |
| 134 | + return qApp->hasViveControllers(); | |
| 135 | +} | |