From d1b0a2bfe50e61241fab6a571941c207232d9212 Mon Sep 17 00:00:00 2001 From: Jeff Brown Date: Sun, 26 Sep 2010 22:20:12 -0700 Subject: Add suuport for splitting touch events across windows. This feature is currently used to enable dragging the start and end selection handles of a TextView at the same time. Could be used for other things later. Deleted some dead code in ArrowKeyMovementMethod and CursorControllers. Change-Id: I930accd97ca1ca1917aab8a807db2c950fc7b409 --- include/ui/Input.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/ui/Input.h') diff --git a/include/ui/Input.h b/include/ui/Input.h index b587e94db5..21baf32599 100644 --- a/include/ui/Input.h +++ b/include/ui/Input.h @@ -40,9 +40,17 @@ enum { /* * Maximum number of pointers supported per motion event. + * Smallest number of pointers is 1. */ #define MAX_POINTERS 10 +/* + * Maximum pointer id value supported in a motion event. + * Smallest pointer id is 0. + * (This is limited by our use of BitSet32 to track pointer assignments.) + */ +#define MAX_POINTER_ID 31 + /* * Declare a concrete type for the NDK's input event forward declaration. */ -- cgit v1.2.3-59-g8ed1b