Slightly reduce size of analog sticks to allow a gap before the edge of the screen

This reduces false analog stick releases caused when the finger goes off the display's touch area.
This commit is contained in:
Cameron Gutman 2020-06-23 21:36:33 -07:00
parent 964d2ce59c
commit fe97ffdc2f

View File

@ -167,11 +167,11 @@ public class VirtualControllerConfigurationLoader {
private static final int DPAD_BASE_Y = 41;
private static final int DPAD_SIZE = 30;
private static final int ANALOG_L_BASE_X = 4;
private static final int ANALOG_L_BASE_Y = 1;
private static final int ANALOG_R_BASE_X = 96;
private static final int ANALOG_L_BASE_X = 6;
private static final int ANALOG_L_BASE_Y = 4;
private static final int ANALOG_R_BASE_X = 98;
private static final int ANALOG_R_BASE_Y = 42;
private static final int ANALOG_SIZE = 28;
private static final int ANALOG_SIZE = 26;
private static final int L3_R3_BASE_Y = 60;