SDL: move mouse with right gamepad stick, added bounds checking to moving mouse with arrow keys

This commit is contained in:
pelya
2015-03-22 22:21:35 +02:00
parent f0688ea027
commit 546bbc3ea0
7 changed files with 102 additions and 55 deletions

View File

@@ -102,7 +102,7 @@ class Globals
public static int RightClickMethod = AppNeedsTwoButtonMouse ? Mouse.RIGHT_CLICK_WITH_MULTITOUCH : Mouse.RIGHT_CLICK_NONE;
public static int RightClickKey = KeyEvent.KEYCODE_MENU;
public static boolean MoveMouseWithJoystick = false;
public static int MoveMouseWithJoystickSpeed = 0;
public static int MoveMouseWithJoystickSpeed = 1;
public static int MoveMouseWithJoystickAccel = 0;
public static boolean MoveMouseWithGyroscope = false;
public static int MoveMouseWithGyroscopeSpeed = 2;