From 4e40430a13c1713184930cbb5ccc9ca1c7936488 Mon Sep 17 00:00:00 2001 From: TwistedUmbrella Date: Wed, 30 Apr 2014 01:53:20 -0400 Subject: [PATCH] Separate joystick and dpad by default when not configured --- shell/android/src/com/reicast/emulator/GL2JNIActivity.java | 2 +- shell/android/src/com/reicast/emulator/GL2JNINative.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/shell/android/src/com/reicast/emulator/GL2JNIActivity.java b/shell/android/src/com/reicast/emulator/GL2JNIActivity.java index c72f6b424..c3b9d31cc 100644 --- a/shell/android/src/com/reicast/emulator/GL2JNIActivity.java +++ b/shell/android/src/com/reicast/emulator/GL2JNIActivity.java @@ -154,7 +154,7 @@ public class GL2JNIActivity extends Activity { if (pad.custom[playerNum] || pad.compat[playerNum]) { pad.joystick[playerNum] = prefs.getBoolean(Gamepad.pref_js_separate + id, false); } else { - pad.joystick[playerNum] = false; + pad.joystick[playerNum] = true; } if (InputDevice.getDevice(joy).getName() .contains(Gamepad.controllers_gamekey)) { diff --git a/shell/android/src/com/reicast/emulator/GL2JNINative.java b/shell/android/src/com/reicast/emulator/GL2JNINative.java index 1b0a1c22b..5f20d9d52 100644 --- a/shell/android/src/com/reicast/emulator/GL2JNINative.java +++ b/shell/android/src/com/reicast/emulator/GL2JNINative.java @@ -166,7 +166,7 @@ public class GL2JNINative extends NativeActivity { if (pad.custom[playerNum] || pad.compat[playerNum]) { pad.joystick[playerNum] = prefs.getBoolean(Gamepad.pref_js_separate + id, false); } else { - pad.joystick[playerNum] = false; + pad.joystick[playerNum] = true; } if (InputDevice.getDevice(joy).getName() .contains(Gamepad.controllers_gamekey)) {