android: Fix evdev configure test.
authorRobin Burchell <robin.burchell@collabora.co.uk>
Thu, 5 Jul 2012 12:38:01 +0000 (14:38 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 5 Jul 2012 22:37:39 +0000 (00:37 +0200)
Android doesn't define a number of items in its input.h for MT, so don't test
for them here. They will still work, they just need manual defines.

Change-Id: I471f55b7c7f8950d2048e525119b2b36c8e9743b
Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
config.tests/unix/evdev/evdev.cpp

index 3dddd60..fdc6554 100644 (file)
 #include <linux/input.h>
 
 enum {
-    e1 = ABS_MT_POSITION_X,
-    e2 = ABS_MT_TRACKING_ID,
-    e3 = ABS_PRESSURE,
-    e4 = ABS_X,
-    e5 = REL_X,
-    e6 = SYN_REPORT,
-    e7 = SYN_MT_REPORT
+    e1 = ABS_PRESSURE,
+    e2 = ABS_X,
+    e3 = REL_X,
+    e4 = SYN_REPORT,
 };
 
 int main()