diff options
author | Johannes Schickel | 2014-02-22 19:47:15 +0100 |
---|---|---|
committer | Johannes Schickel | 2014-02-22 19:47:15 +0100 |
commit | d6a90f610f241b59e63b65088a2acfdd359b1d6d (patch) | |
tree | 0ef06d4a5b4884ca3a2e0ea49cd6b8353e2b19f1 /backends/platform/android | |
parent | b56f8f2212d50ac959e00136d093b313a1fb2ea2 (diff) | |
download | scummvm-rg350-d6a90f610f241b59e63b65088a2acfdd359b1d6d.tar.gz scummvm-rg350-d6a90f610f241b59e63b65088a2acfdd359b1d6d.tar.bz2 scummvm-rg350-d6a90f610f241b59e63b65088a2acfdd359b1d6d.zip |
ANDROID: Slight formatting fix.
Diffstat (limited to 'backends/platform/android')
-rw-r--r-- | backends/platform/android/org/scummvm/scummvm/ScummVMEvents.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/platform/android/org/scummvm/scummvm/ScummVMEvents.java b/backends/platform/android/org/scummvm/scummvm/ScummVMEvents.java index eef5d1911b..a96bc566eb 100644 --- a/backends/platform/android/org/scummvm/scummvm/ScummVMEvents.java +++ b/backends/platform/android/org/scummvm/scummvm/ScummVMEvents.java @@ -70,8 +70,8 @@ public class ScummVMEvents implements } public boolean onGenericMotionEvent(final MotionEvent e) { - // Make sure we're running on Android 3.1 or higher to use getAxisValue() - if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB_MR1) { + // Make sure we're running on Android 3.1 or higher to use getAxisValue() + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB_MR1) { if((e.getSource() & InputDevice.SOURCE_CLASS_JOYSTICK) != 0) { _scummvm.pushEvent(JE_JOYSTICK, e.getAction(), (int)(e.getAxisValue(MotionEvent.AXIS_X)*100), @@ -79,7 +79,7 @@ public class ScummVMEvents implements 0, 0); return true; } - } + } return false; } |