mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 07:37:20 +02:00
Reenable disabling of hand controllers
This commit is contained in:
parent
cde558fb94
commit
2b88935812
1 changed files with 2 additions and 2 deletions
|
@ -41,14 +41,14 @@ ControllerDisplayManager = function() {
|
||||||
};
|
};
|
||||||
|
|
||||||
function updateControllers() {
|
function updateControllers() {
|
||||||
if (HMD.active && true) { //HMD.shouldShowHandControllers()) {
|
if (HMD.active && HMD.shouldShowHandControllers()) {
|
||||||
var leftConfig = null;
|
var leftConfig = null;
|
||||||
var rightConfig = null;
|
var rightConfig = null;
|
||||||
|
|
||||||
if ("Vive" in Controller.Hardware) {
|
if ("Vive" in Controller.Hardware) {
|
||||||
leftConfig = VIVE_CONTROLLER_CONFIGURATION_LEFT;
|
leftConfig = VIVE_CONTROLLER_CONFIGURATION_LEFT;
|
||||||
rightConfig = VIVE_CONTROLLER_CONFIGURATION_RIGHT;
|
rightConfig = VIVE_CONTROLLER_CONFIGURATION_RIGHT;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ("OculusTouch" in Controller.Hardware) {
|
if ("OculusTouch" in Controller.Hardware) {
|
||||||
leftConfig = TOUCH_CONTROLLER_CONFIGURATION_LEFT;
|
leftConfig = TOUCH_CONTROLLER_CONFIGURATION_LEFT;
|
||||||
|
|
Loading…
Reference in a new issue