summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/driver.cpp
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2020-06-30 04:31:25 -0500
committer Siarhei Vishniakou <svv@google.com> 2020-06-30 05:18:56 -0500
commit690f8bed6fc44e6b21cbf9ee1fd20fc8a79291e0 (patch)
treec0433cdbdd3eab54fc01edf08c45b51a111e8d37 /vulkan/libvulkan/driver.cpp
parent8bacaaec2f63d7031a812b3ace59de719539e959 (diff)
Add createAxis to reduce the size of a function
While refactoring input code to enable -Wshadow, I encountered the block of code inside JoystickInputMapper that is used to create an Axis object. This creation can be moved to a separate function for simplicity. Bug: 142017994 Test: atest inputflinger_tests Change-Id: I76088ab054dcf24585837016fb57d6f2500ca5e3
Diffstat (limited to 'vulkan/libvulkan/driver.cpp')
0 files changed, 0 insertions, 0 deletions