Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ad76b221 authored by Harry Cutts's avatar Harry Cutts
Browse files

Input: 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 then the native code will make a JNI call to
KeyGestureController via InputManagerService. The KeyGestureController
implementation to actually treat it like a shortcut will be implemented
later.

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 com.android.server.input.InputManagerServiceTests
Flag: com.android.hardware.input.touchpad_three_finger_tap_shortcut
Bug: 365063048
Change-Id: I6ba5e2235c7429db173b502df19fc40b28822c0f
parent 98ecea72
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment