aboutsummaryrefslogtreecommitdiffstats
path: root/android/qemulator.c
diff options
context:
space:
mode:
authorVladimir Chtchetkine <vchtchetkine@google.com>2012-03-16 12:25:23 -0700
committerVladimir Chtchetkine <vchtchetkine@google.com>2012-03-19 08:29:19 -0700
commit863d1010d9c8fa4342b1b0ea860bcfb096806acc (patch)
tree6e6bb1fa3e508f9633586b2a4b9db73ffb97d647 /android/qemulator.c
parenta342edc996e079f2d1a913ec19d25fd1c118af4e (diff)
downloadexternal_qemu-863d1010d9c8fa4342b1b0ea860bcfb096806acc.zip
external_qemu-863d1010d9c8fa4342b1b0ea860bcfb096806acc.tar.gz
external_qemu-863d1010d9c8fa4342b1b0ea860bcfb096806acc.tar.bz2
Cleanup harware properties.
1. Remove unused hw.camera.maxHorizontalPixels, and hw.camera.maxVerticalPixels parameters. 2. Combine hw.touchScreen, and hw.multiTouch under one property: hw.screen Change-Id: I3cdf64f7d7e46486110cbc0769f9d98a61f0bea5
Diffstat (limited to 'android/qemulator.c')
-rw-r--r--android/qemulator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/android/qemulator.c b/android/qemulator.c
index cd97510..eb3b59e 100644
--- a/android/qemulator.c
+++ b/android/qemulator.c
@@ -81,8 +81,8 @@ qemulator_setup( QEmulator* emulator )
qemulator_set_title(emulator);
- skin_window_enable_touch ( emulator->window, android_hw->hw_touchScreen != 0 ||
- android_hw->hw_multiTouch != 0);
+ skin_window_enable_touch ( emulator->window,
+ !androidHwConfig_isScreenNoTouch(android_hw));
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 );