mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 22:44:15 +02:00
CR feedback
This commit is contained in:
parent
9285cf8e2c
commit
ed20e7d209
1 changed files with 2 additions and 2 deletions
|
@ -869,10 +869,10 @@ function MyController(hand, triggerAction) {
|
|||
var rightController = new MyController(RIGHT_HAND, Controller.Standard.RT);
|
||||
var leftController = new MyController(LEFT_HAND, Controller.Standard.LT);
|
||||
|
||||
var mapping = Controller.newMapping("handGrab");
|
||||
var mapping = Controller.newMapping("com.highfidelity.handControllerGrab");
|
||||
mapping.from([Controller.Standard.RB, Controller.Standard.RT]).to(rightController.eitherTrigger);
|
||||
mapping.from([Controller.Standard.LB, Controller.Standard.LT]).to(leftController.eitherTrigger);
|
||||
Controller.enableMapping("handGrab");
|
||||
Controller.enableMapping("com.highfidelity.handControllerGrab");
|
||||
|
||||
|
||||
function update() {
|
||||
|
|
Loading…
Reference in a new issue