mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-03 06:39:33 +00:00
Merge pull request #4229 from SeannyM/android-joystick
Android: fix joystick saving incorrect y-coordinate
This commit is contained in:
commit
023eb34247
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ public final class InputOverlay extends SurfaceView implements OnTouchListener
|
||||||
case MotionEvent.ACTION_POINTER_UP:
|
case MotionEvent.ACTION_POINTER_UP:
|
||||||
if (mJoystickBeingConfigured != null)
|
if (mJoystickBeingConfigured != null)
|
||||||
{
|
{
|
||||||
saveControlPosition(mJoystickBeingConfigured.getSharedPrefsId(), mJoystickBeingConfigured.getBounds().left, mJoystickBeingConfigured.getBounds().right);
|
saveControlPosition(mJoystickBeingConfigured.getSharedPrefsId(), mJoystickBeingConfigured.getBounds().left, mJoystickBeingConfigured.getBounds().top);
|
||||||
mJoystickBeingConfigured = null;
|
mJoystickBeingConfigured = null;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue