diff --git a/interface/resources/qml/hifi/tablet/ControllerSettings.qml b/interface/resources/qml/hifi/tablet/ControllerSettings.qml index ea694ae2d7..d6c04ab420 100644 --- a/interface/resources/qml/hifi/tablet/ControllerSettings.qml +++ b/interface/resources/qml/hifi/tablet/ControllerSettings.qml @@ -27,6 +27,7 @@ Item { width: parent.width property string title: "Controls" + property var openVRDevices: ["HTC Vive", "Valve Index", "Valve HMD", "Valve"] HifiConstants { id: hifi } @@ -244,7 +245,7 @@ Item { source: InputConfiguration.configurationLayout(box.textAt(box.currentIndex)); onLoaded: { if (loader.item.hasOwnProperty("pluginName")) { - if (box.textAt(box.currentIndex) === "HTC Vive") { + if (openVRDevices.indexOf(box.textAt(box.currentIndex)) !== -1) { loader.item.pluginName = "OpenVR"; } else { loader.item.pluginName = box.textAt(box.currentIndex); @@ -298,7 +299,7 @@ Item { loader.source = ""; var selectedDevice = box.textAt(box.currentIndex); var source = ""; - if (selectedDevice == "HTC Vive") { + if (openVRDevices.indexOf(selectedDevice) !== -1) { source = InputConfiguration.configurationLayout("OpenVR"); } else { source = InputConfiguration.configurationLayout(selectedDevice);