diff options
author | 2024-07-09 19:57:33 +0000 | |
---|---|---|
committer | 2024-07-10 10:36:06 +0000 | |
commit | ba27d1d9484c25a9ab58d13dcc59d35ad73fc7d3 (patch) | |
tree | fe80a0d5ed9c2fa2c460cd7b44cf6c139106d9b1 /include/input/Input.h | |
parent | 41da946d8c62a36725a23872ab264cfed401520f (diff) |
Native support for rotary encoder high-res scroll
Test: atest RotaryEncoderInputMapperTest
Test: atest VirtualRotaryEncoderTest
Flag: android.companion.virtualdevice.flags.high_resolution_scroll
Bug: 320328752
Change-Id: Iac9092597010582bd3f55e51ee63e9eb9c8d9433
Diffstat (limited to 'include/input/Input.h')
-rw-r--r-- | include/input/Input.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/input/Input.h b/include/input/Input.h index 17672d11f7..77d7448db3 100644 --- a/include/input/Input.h +++ b/include/input/Input.h @@ -196,11 +196,11 @@ 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 + * Number of high resolution scroll units for one detent (scroll 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; +constexpr int32_t kEvdevHighResScrollUnitsPerDetent = 120; /* * Declare a concrete type for the NDK's input event forward declaration. |