aboutsummaryrefslogtreecommitdiffstats
path: root/android/qemulator.c
diff options
context:
space:
mode:
authorVladimir Chtchetkine <vchtchetkine@google.com>2012-02-15 17:16:04 -0800
committerVladimir Chtchetkine <vchtchetkine@google.com>2012-03-05 14:14:39 -0800
commit8dd31e8e10fc3ca10192368acf19d2345eeddde7 (patch)
tree7c469657616d59c3a2723ec446f528d4bbaee56d /android/qemulator.c
parentbf45fc2a26358b7ec52cb17bb9d6ed67d6483b01 (diff)
downloadexternal_qemu-8dd31e8e10fc3ca10192368acf19d2345eeddde7.zip
external_qemu-8dd31e8e10fc3ca10192368acf19d2345eeddde7.tar.gz
external_qemu-8dd31e8e10fc3ca10192368acf19d2345eeddde7.tar.bz2
Multi-touch emulation support
Change-Id: I311dc55fe10f41637775baa330a7c732ff317f51
Diffstat (limited to 'android/qemulator.c')
-rw-r--r--android/qemulator.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/android/qemulator.c b/android/qemulator.c
index 35587ff..cd97510 100644
--- a/android/qemulator.c
+++ b/android/qemulator.c
@@ -81,7 +81,8 @@ qemulator_setup( QEmulator* emulator )
qemulator_set_title(emulator);
- skin_window_enable_touch ( emulator->window, android_hw->hw_touchScreen != 0 );
+ skin_window_enable_touch ( emulator->window, android_hw->hw_touchScreen != 0 ||
+ android_hw->hw_multiTouch != 0);
skin_window_enable_dpad ( emulator->window, android_hw->hw_dPad != 0 );
skin_window_enable_qwerty( emulator->window, android_hw->hw_keyboard != 0 );
skin_window_enable_trackball( emulator->window, android_hw->hw_trackBall != 0 );