summaryrefslogtreecommitdiff
path: root/opengl/libagl/TextureObjectManager.cpp
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2020-05-13 14:00:31 -0700
committer Siarhei Vishniakou <svv@google.com> 2020-05-15 09:08:50 -0700
commita0d2b809f012ca8447659d08dd8172b7e0d35964 (patch)
treec5387911c1de57ce603237bb7fed4b61c3c3753a /opengl/libagl/TextureObjectManager.cpp
parent2d76a5eb50baeba260c2b42e7da9cb0ef7fdcacc (diff)
Pass BTN_GEAR_DOWN and BTN_GEAR_UP to apps
The Steam controller has 2 large 'paddle' buttons on the back. When used in USB mode with hid-steam, this sends BTN_GEAR_DOWN and BTN_GEAR_UP to the user space. But today, these events never reach the apps, even if they have proper mappings. This is because these buttons are not considered to be "keyboard or gamepad". Adjust the checks to include these 2 buttons in KeyboardInputMapper. Test: connect Steam controller over USB and check that the paddle buttons produce events visible in the "gamepad tester" app Test: atest inputflinger_tests Bug: 147434575 Change-Id: I43f221c546ccc1277d578a185465bd5eadac9e8e
Diffstat (limited to 'opengl/libagl/TextureObjectManager.cpp')
0 files changed, 0 insertions, 0 deletions