Overte C++ Documentation
PluginUtils.h
1 // PluginUtils.h
2 // input-plugins/src/input-plugins
3 //
4 // Created by Ryan Huffman on 9/22/16.
5 // Copyright 2016 High Fidelity, Inc.
6 //
7 // Distributed under the Apache License, Version 2.0.
8 // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
9 //
10 
11 #pragma once
12 
13 #include <QString>
14 
15 class PluginUtils {
16 public:
17  static bool isHMDAvailable(const QString& pluginName = "");
18  static bool isHandControllerAvailable(const QString& pluginName = "");
19  static bool isHeadControllerAvailable(const QString& pluginName = "");
20  static bool isSubdeviceContainingNameAvailable(QString name);
21  static bool isViveControllerAvailable();
22  static bool isOculusTouchControllerAvailable();
23  static bool isXboxControllerAvailable();
24 };