diff options
author | 2024-10-18 19:12:59 +0000 | |
---|---|---|
committer | 2024-11-01 12:53:11 +0000 | |
commit | 2a0210e8f48c62128691f722f52c2f408b60a9a4 (patch) | |
tree | 51f992ead851dd9b23013c6b2ba27454e627f997 /libs/battery/LongArrayMultiStateCounter.cpp | |
parent | 114851e8c88e5524ad8b0eb7f4c178d0f7944fbb (diff) |
GestureConverter: add option to make 3-finger tap a shortcut
By default, it will remain as middle-click, but if the user chooses to
customize it we'll handle it like a special keyboard shortcut by sending
a JNI call up to InputManagerService.
Test: 3-finger tap with flag enabled, check log line appears
Test: 3-finger tap with flag disabled, check button events appear at
https://w3c.github.io/uievents/tools/mouse-event-viewer.html
Test: atest inputflinger_test:GestureConverterTest
Test: m checkinput
Flag: com.android.hardware.input.touchpad_three_finger_tap_shortcut
Bug: 365063048
Change-Id: I771d46e1aafe9164dd32771cfdb55a3b259b5a0d
Diffstat (limited to 'libs/battery/LongArrayMultiStateCounter.cpp')
0 files changed, 0 insertions, 0 deletions