Android: Remove unused property to track if joysticks are enabled.

experimental
iwgeric 10 years ago
parent 4102e91456
commit 47e9b9ba16
  1. 2
      jme3-android/src/main/java/com/jme3/input/android/AndroidInputHandler.java

@ -62,7 +62,6 @@ public class AndroidInputHandler implements TouchInput {
private boolean mouseEventsInvertX = false; private boolean mouseEventsInvertX = false;
private boolean mouseEventsInvertY = false; private boolean mouseEventsInvertY = false;
private boolean keyboardEventsEnabled = false; private boolean keyboardEventsEnabled = false;
private boolean joystickEventsEnabled = false;
private boolean dontSendHistory = false; private boolean dontSendHistory = false;
@ -140,7 +139,6 @@ public class AndroidInputHandler implements TouchInput {
mouseEventsEnabled = settings.isEmulateMouse(); mouseEventsEnabled = settings.isEmulateMouse();
mouseEventsInvertX = settings.isEmulateMouseFlipX(); mouseEventsInvertX = settings.isEmulateMouseFlipX();
mouseEventsInvertY = settings.isEmulateMouseFlipY(); mouseEventsInvertY = settings.isEmulateMouseFlipY();
joystickEventsEnabled = settings.useJoysticks();
// view width and height are 0 until the view is displayed on the screen // view width and height are 0 until the view is displayed on the screen
if (view.getWidth() != 0 && view.getHeight() != 0) { if (view.getWidth() != 0 && view.getHeight() != 0) {

Loading…
Cancel
Save