Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cbb392fa authored by Ricardo Quesada's avatar Ricardo Quesada
Browse files

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)
parent 8b65ff09
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -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