diff options
Diffstat (limited to 'include/ui/Input.h')
-rw-r--r-- | include/ui/Input.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/ui/Input.h b/include/ui/Input.h index b587e94..21baf32 100644 --- a/include/ui/Input.h +++ b/include/ui/Input.h @@ -40,10 +40,18 @@ 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. */ struct AInputEvent { |