From c50cd865e5749ef6e27f1b5f8e8b2377deba221a Mon Sep 17 00:00:00 2001 From: Brad Hefta-Gaub Date: Tue, 18 Oct 2016 09:50:35 -0700 Subject: [PATCH] add RTClick and LTClick support to gamepad --- interface/resources/controllers/xbox.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/interface/resources/controllers/xbox.json b/interface/resources/controllers/xbox.json index c4b9da9ae2..b0e97b849f 100644 --- a/interface/resources/controllers/xbox.json +++ b/interface/resources/controllers/xbox.json @@ -3,6 +3,11 @@ "channels": [ { "from": "GamePad.LY", "filters": { "type": "deadZone", "min": 0.05 }, "to": "Actions.TranslateZ" }, { "from": "GamePad.LX", "filters": { "type": "deadZone", "min": 0.05 }, "to": "Actions.TranslateX" }, + + { "from": "GamePad.LT", "to": "Standard.LTClick", + "peek": true, + "filters": [ { "type": "hysteresis", "min": 0.85, "max": 0.9 } ] + }, { "from": "GamePad.LT", "to": "Standard.LT" }, { "from": "GamePad.LB", "to": "Standard.LB" }, { "from": "GamePad.LS", "to": "Standard.LS" }, @@ -31,6 +36,10 @@ ] }, + { "from": "GamePad.RT", "to": "Standard.RTClick", + "peek": true, + "filters": [ { "type": "hysteresis", "min": 0.85, "max": 0.9 } ] + }, { "from": "GamePad.RT", "to": "Standard.RT" }, { "from": "GamePad.RB", "to": "Standard.RB" }, { "from": "GamePad.RS", "to": "Standard.RS" },