Merge pull request #799 from gotoAndDie/rt-onefinger

Allow RT/LT and A/B/X/Y/LB/RB to be triggered together with one finger
This commit is contained in:
Cameron Gutman
2020-03-21 00:23:24 -07:00
committed by GitHub

View File

@@ -240,7 +240,7 @@ public class VirtualControllerConfigurationLoader {
);
controller.addElement(createLeftTrigger(
0, "LT", -1, controller, context),
1, "LT", -1, controller, context),
screenScale(TRIGGER_L_BASE_X, height),
screenScale(TRIGGER_BASE_Y, height),
screenScale(TRIGGER_WIDTH, height),
@@ -248,7 +248,7 @@ public class VirtualControllerConfigurationLoader {
);
controller.addElement(createRightTrigger(
0, "RT", -1, controller, context),
1, "RT", -1, controller, context),
screenScale(TRIGGER_R_BASE_X + TRIGGER_DISTANCE, height) + rightDisplacement,
screenScale(TRIGGER_BASE_Y, height),
screenScale(TRIGGER_WIDTH, height),