Make it possible to press the RT button and the other buttons with the same finger

This commit is contained in:
Leo 2020-03-13 18:48:50 +00:00
parent 1ccbbdd4fb
commit 9246ad412f

View File

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