Skip to content

Commit

Permalink
Android: Fixed ignoring a return value while handling motion events.
Browse files Browse the repository at this point in the history
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 88f5193
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions android-project/src/org/libsdl/app/SDLActivity.java
Expand Up @@ -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();
Expand Down

0 comments on commit 88f5193

Please sign in to comment.