summaryrefslogtreecommitdiffstats
path: root/include/ui/Input.h
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2011-01-25 18:20:35 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2011-01-25 18:20:35 -0800
commit12b2dc90883ef4f930a17907acdef3677b0598a5 (patch)
tree8a46f7bec5fdfe88cc60f22214e424c6acdb9e83 /include/ui/Input.h
parenta2852d1f20f2948dc5cad6a4323836c7f8e1d79b (diff)
parentb1e0a870e4099490127bb917bb4fc7a8f48db893 (diff)
downloadframeworks_base-12b2dc90883ef4f930a17907acdef3677b0598a5.zip
frameworks_base-12b2dc90883ef4f930a17907acdef3677b0598a5.tar.gz
frameworks_base-12b2dc90883ef4f930a17907acdef3677b0598a5.tar.bz2
am b1e0a870: Merge "Fix crashes caused by some input devices." into honeycomb
* commit 'b1e0a870e4099490127bb917bb4fc7a8f48db893': Fix crashes caused by some input devices.
Diffstat (limited to 'include/ui/Input.h')
-rw-r--r--include/ui/Input.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/ui/Input.h b/include/ui/Input.h
index 30b45f7..2012fcc 100644
--- a/include/ui/Input.h
+++ b/include/ui/Input.h
@@ -50,8 +50,10 @@ enum {
/*
* Maximum number of pointers supported per motion event.
* Smallest number of pointers is 1.
+ * (We want at least 10 but some touch controllers obstensibly configured for 10 pointers
+ * will occasionally emit 11. There is not much harm making this constant bigger.)
*/
-#define MAX_POINTERS 10
+#define MAX_POINTERS 16
/*
* Maximum pointer id value supported in a motion event.