summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author Harry Cutts <hcutts@google.com> 2024-10-18 19:21:27 +0000
committer Harry Cutts <hcutts@google.com> 2024-11-01 15:33:26 +0000
commitad76b221733a445f62889a6f0fb3c606fee2ec53 (patch)
treeef37457c8e905209c9a7aec297ac91082317224b /libs/androidfw/misc.cpp
parent98ecea72f5c20edc7dd2d9bfbc287434a9150a71 (diff)
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
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions