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
dfd007d5c4
commit
97ea1e70a3
1 changed files with 1 additions and 2 deletions
|
@ -1641,8 +1641,7 @@ class SDLGenericMotionListener_API12 implements View.OnGenericMotionListener {
|
||||||
case InputDevice.SOURCE_JOYSTICK:
|
case InputDevice.SOURCE_JOYSTICK:
|
||||||
case InputDevice.SOURCE_GAMEPAD:
|
case InputDevice.SOURCE_GAMEPAD:
|
||||||
case InputDevice.SOURCE_DPAD:
|
case InputDevice.SOURCE_DPAD:
|
||||||
SDLActivity.handleJoystickMotionEvent(event);
|
return SDLActivity.handleJoystickMotionEvent(event);
|
||||||
return true;
|
|
||||||
|
|
||||||
case InputDevice.SOURCE_MOUSE:
|
case InputDevice.SOURCE_MOUSE:
|
||||||
action = event.getActionMasked();
|
action = event.getActionMasked();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue