summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Jordan Demeulenaere <jdemeulenaere@google.com> 2024-01-23 15:36:16 +0100
committer Jordan Demeulenaere <jdemeulenaere@google.com> 2024-01-25 10:09:02 +0100
commit148b7af1a664d7bb1bce15b70560d445bfc2b86d (patch)
tree92dff60cbb8974e98d3ce9ae890992e56ee27385 /libs/input/PointerController.cpp
parent1d5762364633a160ca5912e5f52121de4227a6a4 (diff)
Make STL swipe distances configurable
This CL changes the userActions map from a Map<UserAction, SceneKey> to Map<UserAction, UserActionResult>. In addition to the target SceneKey, the UserActionResult also exposes a UserActionDistance that can be used to specify the distance of the user action. This CL makes sure that usages of the previous API still work by making SceneKey implement UserActionResult. Bug: 321932826 Test: atest SwipeToSceneTest Flag: N/A Change-Id: I6b3832f82a72d3d1dca8cef1c58ccb87b8ec2220
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions