Skip to content
Permalink
Browse files

Android: Fixed ignoring a return value while handling motion events.

This should not have caused problems yet because the return value was identical.
  • Loading branch information
philippwiesemann committed Jan 26, 2016
1 parent 67f9fd2 commit 88f519372f4a80c5f6dbd50ac8c527af00b237da
Showing with 1 addition and 2 deletions.
  1. +1 −2 android-project/src/org/libsdl/app/SDLActivity.java
@@ -1641,8 +1641,7 @@ public boolean onGenericMotion(View v, MotionEvent event) {
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();

0 comments on commit 88f5193

Please sign in to comment.