diff options
Diffstat (limited to 'include/input/Input.h')
-rw-r--r-- | include/input/Input.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/input/Input.h b/include/input/Input.h index 456977bb34..17672d11f7 100644 --- a/include/input/Input.h +++ b/include/input/Input.h @@ -196,6 +196,13 @@ static constexpr size_t MAX_POINTERS = 16; #define MAX_POINTER_ID 31 /* + * Number of high resolution mouse scroll units for one detent (mouse wheel click), as defined in + * evdev. This is relevant when an input device is emitting REL_WHEEL_HI_RES or REL_HWHEEL_HI_RES + * events. + */ +constexpr int32_t kEvdevMouseHighResScrollUnitsPerDetent = 120; + +/* * Declare a concrete type for the NDK's input event forward declaration. */ struct AInputEvent { |