From 86ffa4477180c8f58c23f79e2e25ed872ef5f292 Mon Sep 17 00:00:00 2001 From: r3tk0n Date: Thu, 21 Mar 2019 17:05:20 -0700 Subject: [PATCH] Swap flying binding to other hand. --- interface/resources/controllers/standard.json | 8 ++++---- scripts/system/tablet-ui/tabletUI.js | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/interface/resources/controllers/standard.json b/interface/resources/controllers/standard.json index 4f9fb9d41e..9885504447 100644 --- a/interface/resources/controllers/standard.json +++ b/interface/resources/controllers/standard.json @@ -43,12 +43,12 @@ }, { "from": "Standard.LeftSecondaryThumb", - "when": [ "Application.Grounded", "Application.RightHandDominant" ], + "when": [ "Application.Grounded", "Application.LeftHandDominant" ], "to": "Actions.Up" }, { "from": "Standard.LeftSecondaryThumb", - "when": "Application.RightHandDominant", + "when": "Application.LeftHandDominant", "to": "Actions.Up" }, @@ -94,12 +94,12 @@ }, { "from": "Standard.RightSecondaryThumb", - "when": [ "Application.Grounded", "Application.LeftHandDominant" ], + "when": [ "Application.Grounded", "Application.RightHandDominant" ], "to": "Actions.Up" }, { "from": "Standard.RightSecondaryThumb", - "when": "Application.LeftHandDominant", + "when": "Application.RightHandDominant", "to": "Actions.Up" }, diff --git a/scripts/system/tablet-ui/tabletUI.js b/scripts/system/tablet-ui/tabletUI.js index 9f59c0ec6e..a38febaa77 100644 --- a/scripts/system/tablet-ui/tabletUI.js +++ b/scripts/system/tablet-ui/tabletUI.js @@ -291,7 +291,7 @@ var clickMapping = Controller.newMapping('tabletToggle-click'); var wantsMenu = 0; clickMapping.from(function () { return wantsMenu; }).to(Controller.Actions.ContextMenu); - clickMapping.from(Controller.Standard.RightSecondaryThumb).peek().when(Controller.Hardware.Application.RightHandDominant).to(function (clicked) { + clickMapping.from(Controller.Standard.RightSecondaryThumb).peek().when(Controller.Hardware.Application.LeftHandDominant).to(function (clicked) { if (clicked) { //activeHudPoint2d(Controller.Standard.RightHand); Messages.sendLocalMessage("toggleHand", Controller.Standard.RightHand); @@ -299,7 +299,7 @@ wantsMenu = clicked; }); - clickMapping.from(Controller.Standard.LeftSecondaryThumb).peek().when(Controller.Hardware.Application.LeftHandDominant).to(function (clicked) { + clickMapping.from(Controller.Standard.LeftSecondaryThumb).peek().when(Controller.Hardware.Application.RightHandDominant).to(function (clicked) { if (clicked) { //activeHudPoint2d(Controller.Standard.LeftHand); Messages.sendLocalMessage("toggleHand", Controller.Standard.LeftHand);