Separate joystick and dpad by default when not configured

This commit is contained in:
TwistedUmbrella 2014-04-30 01:53:20 -04:00 committed by ptitSeb
parent 3da4c2eab1
commit c332985bd1
2 changed files with 2 additions and 2 deletions

View File

@ -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)) {

View File

@ -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)) {