mirror of
https://github.com/overte-org/overte.git
synced 2025-04-18 07:56:25 +02:00
enable the trigger mapping so it's actually usable
This commit is contained in:
parent
30f55418db
commit
cd1c114807
1 changed files with 2 additions and 1 deletions
|
@ -191,10 +191,11 @@ function makeTriggerHandler(hand) {
|
|||
}
|
||||
};
|
||||
}
|
||||
|
||||
triggerMapping.from(Controller.Standard.RT).peek().to(makeTriggerHandler(Controller.Standard.RightHand));
|
||||
triggerMapping.from(Controller.Standard.LT).peek().to(makeTriggerHandler(Controller.Standard.LeftHand));
|
||||
|
||||
triggerMapping.enable();
|
||||
|
||||
// cleanup the toolbar button and overlays when script is stopped
|
||||
Script.scriptEnding.connect(function() {
|
||||
toolbar.removeButton('ignore');
|
||||
|
|
Loading…
Reference in a new issue