diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/input/Input.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/input/Input.h b/include/input/Input.h index 4a67f47..617175b 100644 --- a/include/input/Input.h +++ b/include/input/Input.h @@ -28,6 +28,7 @@ #include <utils/String8.h> #include <utils/Timers.h> #include <utils/Vector.h> +#include <stdint.h> /* * Additional private constants not defined in ndk/ui/input.h. @@ -111,6 +112,11 @@ enum { #define MAX_POINTERS 16 /* + * Maximum number of samples supported per motion event. + */ +#define MAX_SAMPLES UINT16_MAX + +/* * 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.) |