mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-29 22:02:58 +02:00
Fixed a typo that could have caused a bug
This commit is contained in:
parent
7cf9fd83a6
commit
dfef9680f9
1 changed files with 1 additions and 1 deletions
|
@ -2070,7 +2070,7 @@ controller::Input::NamedVector ViveControllerManager::InputDevice::getAvailableI
|
||||||
QString ViveControllerManager::InputDevice::getDefaultMappingConfig() const {
|
QString ViveControllerManager::InputDevice::getDefaultMappingConfig() const {
|
||||||
QString name(getOpenVrDeviceName().c_str());
|
QString name(getOpenVrDeviceName().c_str());
|
||||||
QString MAPPING_JSON;
|
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";
|
MAPPING_JSON = PathUtils::resourcesPath() + "/controllers/vive.json";
|
||||||
} else {
|
} else {
|
||||||
MAPPING_JSON = PathUtils::resourcesPath() + "/controllers/index.json";
|
MAPPING_JSON = PathUtils::resourcesPath() + "/controllers/index.json";
|
||||||
|
|
Loading…
Reference in a new issue