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

Commit eb74bc98 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

am: dbca93d5

Change-Id: Ib04a7f55a2f994a389276f8c3f6f32c20710312a
parents 50bafe9e dbca93d5
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