From dfef9680f97cce6b65592fa6d5a97f251a17d53a Mon Sep 17 00:00:00 2001
From: ksuprynowicz <ksuprynowicz@post.pl>
Date: Tue, 27 Jun 2023 19:14:30 +0200
Subject: [PATCH] Fixed a typo that could have caused a bug

---
 plugins/openvr/src/ViveControllerManager.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/openvr/src/ViveControllerManager.cpp b/plugins/openvr/src/ViveControllerManager.cpp
index 9323d1a013..ec1b6bc671 100644
--- a/plugins/openvr/src/ViveControllerManager.cpp
+++ b/plugins/openvr/src/ViveControllerManager.cpp
@@ -2070,7 +2070,7 @@ controller::Input::NamedVector ViveControllerManager::InputDevice::getAvailableI
 QString ViveControllerManager::InputDevice::getDefaultMappingConfig() const {
     QString name(getOpenVrDeviceName().c_str());
     QString MAPPING_JSON;
-    if (name.contains(QString("Vive")) || name.contains(QString("Vive"))) {
+    if (name.contains(QString("HTC")) || name.contains(QString("Vive"))) {
         MAPPING_JSON = PathUtils::resourcesPath() + "/controllers/vive.json";
     } else {
         MAPPING_JSON = PathUtils::resourcesPath() + "/controllers/index.json";