mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-11 05:43:04 +02:00
Merge pull request #7878 from howard-stearns/vive-buttons-out-of-pause
More buttons to get out of away/pause.
This commit is contained in:
commit
87aa90de08
1 changed files with 9 additions and 1 deletions
|
@ -262,6 +262,14 @@ eventMapping.from(Controller.Standard.LeftPrimaryThumb).peek().to(goActive);
|
|||
eventMapping.from(Controller.Standard.RightPrimaryThumb).peek().to(goActive);
|
||||
eventMapping.from(Controller.Standard.LeftSecondaryThumb).peek().to(goActive);
|
||||
eventMapping.from(Controller.Standard.RightSecondaryThumb).peek().to(goActive);
|
||||
eventMapping.from(Controller.Standard.LT).peek().to(goActive);
|
||||
eventMapping.from(Controller.Standard.LB).peek().to(goActive);
|
||||
eventMapping.from(Controller.Standard.LS).peek().to(goActive);
|
||||
eventMapping.from(Controller.Standard.RT).peek().to(goActive);
|
||||
eventMapping.from(Controller.Standard.RB).peek().to(goActive);
|
||||
eventMapping.from(Controller.Standard.RS).peek().to(goActive);
|
||||
eventMapping.from(Controller.Standard.Back).peek().to(goActive);
|
||||
eventMapping.from(Controller.Standard.Start).peek().to(goActive);
|
||||
Controller.enableMapping(eventMappingName);
|
||||
|
||||
Script.scriptEnding.connect(function () {
|
||||
|
@ -270,4 +278,4 @@ Script.scriptEnding.connect(function () {
|
|||
Controller.disableMapping(eventMappingName);
|
||||
Controller.mousePressEvent.disconnect(goActive);
|
||||
Controller.keyPressEvent.disconnect(maybeGoActive);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue