frameworks/base: fix Logitech Dual Action gamepad

This CL fixes mappings in Logitech Dual Action gamepad:

- Swaps mappings of: A,B <--> X,Y
- Back was the old "Select" button.

Bug: 160637093
Bug: 27778061
Test: Manually tested by launching "Gamepad Tester" APK.
      Verified that A,B,X,Y and Back works as expected.
Change-Id: Ic3075e274794cc38104a23db2c08513b7a1c3992
(cherry picked from commit 7601d457b6c56d983311227ff6b974b9fe3eec6d)
This commit is contained in:
Ricardo Quesada
2020-07-10 16:29:17 -07:00
parent 8b65ff0965
commit cbb392fa69

View File

@@ -16,15 +16,15 @@
# Logitech Dual Action Controller
#
key 0x120 BUTTON_A
key 0x123 BUTTON_B
key 0x121 BUTTON_X
key 0x122 BUTTON_Y
key 0x121 BUTTON_A
key 0x122 BUTTON_B
key 0x120 BUTTON_X
key 0x123 BUTTON_Y
key 0x124 BUTTON_L1
key 0x125 BUTTON_R1
key 0x126 BUTTON_L2
key 0x127 BUTTON_R2
key 0x128 BUTTON_SELECT
key 0x128 BACK
key 0x129 BUTTON_START
key 0x12a BUTTON_THUMBL
key 0x12b BUTTON_THUMBR