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

Commit dbca93d5 authored by Siarhei Vishniakou's avatar Siarhei Vishniakou Committed by android-build-merger
Browse files

Merge "Remap PS key to BUTTON_MODE on DS4 joystick" into pi-dev

am: 796fa51c

Change-Id: Ie056ae5cfbce7f61fb96bc2fec8cce3efe2c97ed
parents 6a59e737 796fa51c
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -62,6 +62,10 @@ key 0x138 BUTTON_SELECT
key 0x139    BUTTON_START

# PS key
key 0x13c    HOME
key 0x13c    BUTTON_MODE

# Touchpad press
key 0x13d   BUTTON_MODE
# The touchpad for this joystick will become a separate input device in future releases
# and this button will be equivalent to left mouse button
# Therefore, map it to KEYCODE_BUTTON_1 here to allow apps to still handle this on earlier versions
key 0x13d   BUTTON_1
+6 −2
Original line number Diff line number Diff line
@@ -62,6 +62,10 @@ key 0x138 BUTTON_SELECT
key 0x139    BUTTON_START

# PS key
key 0x13c    HOME
key 0x13c    BUTTON_MODE

# Touchpad press
key 0x13d   BUTTON_MODE
# The touchpad for this joystick will become a separate input device in future releases
# and this button will be equivalent to left mouse button
# Therefore, map it to KEYCODE_BUTTON_1 here to allow apps to still handle this on earlier versions
key 0x13d   BUTTON_1