aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/android/org/inodes/gus
diff options
context:
space:
mode:
authordhewg2011-03-18 21:05:46 +0100
committerdhewg2011-03-18 21:53:25 +0100
commitb7215472136c91841d44decd6955b4eb3e3e2ce1 (patch)
treea621b1e8ec1c6e91b8b363ed864d1ae16de1ab81 /backends/platform/android/org/inodes/gus
parent004df22752b47e26f757100b6faac04dd7b707e0 (diff)
downloadscummvm-rg350-b7215472136c91841d44decd6955b4eb3e3e2ce1.tar.gz
scummvm-rg350-b7215472136c91841d44decd6955b4eb3e3e2ce1.tar.bz2
scummvm-rg350-b7215472136c91841d44decd6955b4eb3e3e2ce1.zip
ANDROID: Implement trackball click
Diffstat (limited to 'backends/platform/android/org/inodes/gus')
-rw-r--r--backends/platform/android/org/inodes/gus/scummvm/ScummVMEvents.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/backends/platform/android/org/inodes/gus/scummvm/ScummVMEvents.java b/backends/platform/android/org/inodes/gus/scummvm/ScummVMEvents.java
index da589a326e..baf128292e 100644
--- a/backends/platform/android/org/inodes/gus/scummvm/ScummVMEvents.java
+++ b/backends/platform/android/org/inodes/gus/scummvm/ScummVMEvents.java
@@ -48,8 +48,10 @@ public class ScummVMEvents implements
}
public boolean onTrackballEvent(MotionEvent e) {
- _scummvm.pushEvent(JE_BALL, (int)(e.getX() * e.getXPrecision() * 100),
- (int)(e.getY() * e.getYPrecision() * 100), 0, 0, 0);
+ _scummvm.pushEvent(JE_BALL, e.getAction(),
+ (int)(e.getX() * e.getXPrecision() * 100),
+ (int)(e.getY() * e.getYPrecision() * 100),
+ 0, 0);
return true;
}