aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/android/android.h
diff options
context:
space:
mode:
authorAlyssa Milburn2012-02-03 12:36:03 +0100
committerAlyssa Milburn2012-02-03 12:36:03 +0100
commit4763b2c51b4c73dae4340993fc9b71200bcdbe28 (patch)
treec2b8942d7d492a867a17342f7005e4b82d9ed8a0 /backends/platform/android/android.h
parenta488556dcdfb69ec30af740aa2c71977f505ef35 (diff)
downloadscummvm-rg350-4763b2c51b4c73dae4340993fc9b71200bcdbe28.tar.gz
scummvm-rg350-4763b2c51b4c73dae4340993fc9b71200bcdbe28.tar.bz2
scummvm-rg350-4763b2c51b4c73dae4340993fc9b71200bcdbe28.zip
ANDROID: Add faked input delay.
This adds an artificial delay for mouse up events to make engines like Gob work, similar to the iPhone fix in b3062b5e.
Diffstat (limited to 'backends/platform/android/android.h')
-rw-r--r--backends/platform/android/android.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/platform/android/android.h b/backends/platform/android/android.h
index f39a8f1144..47a6515a2a 100644
--- a/backends/platform/android/android.h
+++ b/backends/platform/android/android.h
@@ -220,6 +220,8 @@ public:
private:
Common::Queue<Common::Event> _event_queue;
+ Common::Event _queuedEvent;
+ uint32 _queuedEventTime;
MutexRef _event_queue_lock;
Common::Point _touch_pt_down, _touch_pt_scroll, _touch_pt_dt;