mirror of
https://github.com/yawut/SDL.git
synced 2026-06-19 23:19:23 -05:00
Android: Fixed ignoring a return value while handling motion events.
This should not have caused problems yet because the return value was identical.
This commit is contained in:
parent
090180b057
commit
0a18d8218d
|
|
@ -1641,8 +1641,7 @@ class SDLGenericMotionListener_API12 implements View.OnGenericMotionListener {
|
|||
case InputDevice.SOURCE_JOYSTICK:
|
||||
case InputDevice.SOURCE_GAMEPAD:
|
||||
case InputDevice.SOURCE_DPAD:
|
||||
SDLActivity.handleJoystickMotionEvent(event);
|
||||
return true;
|
||||
return SDLActivity.handleJoystickMotionEvent(event);
|
||||
|
||||
case InputDevice.SOURCE_MOUSE:
|
||||
action = event.getActionMasked();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user