mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 07:48:08 +02:00
update whens
This commit is contained in:
parent
a4a41faf24
commit
fc65d246ee
1 changed files with 3 additions and 3 deletions
|
@ -18,9 +18,9 @@ function registerMappings() {
|
|||
mappingName = 'Hifi-AdvancedMovement-Dev-' + Math.random();
|
||||
advancedMapping = Controller.newMapping(mappingName);
|
||||
var VIVE = Controller.Hardware.Vive;
|
||||
advancedMapping.from(VIVE.LY).when(Controller.Vive.LSY).invert().to(Controller.Standard.LY);
|
||||
advancedMapping.from(VIVE.LX).when(Controller.Vive.LSX).to(Controller.Standard.LX);
|
||||
advancedMapping.from(VIVE.RY).when(Controller.Vive.RSY).invert().to(Controller.Standard.RY);
|
||||
advancedMapping.from(VIVE.LY).when(VIVE.LSY).invert().to(Controller.Standard.LY);
|
||||
advancedMapping.from(VIVE.LX).when(VIVE.LSX).to(Controller.Standard.LX);
|
||||
advancedMapping.from(VIVE.RY).when(VIVE.RSY).invert().to(Controller.Standard.RY);
|
||||
}
|
||||
|
||||
function removeTranslationFromLeftStick() {
|
||||
|
|
Loading…
Reference in a new issue