Separate joystick and dpad by default when not configured
This commit is contained in:
parent
3da4c2eab1
commit
c332985bd1
|
@ -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)) {
|
||||
|
|
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue