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

am: 796fa51c8a

Change-Id: Ie056ae5cfbce7f61fb96bc2fec8cce3efe2c97ed
This commit is contained in:
Siarhei Vishniakou
2018-05-18 13:59:49 -07:00
committed by android-build-merger
2 changed files with 12 additions and 4 deletions

View File

@@ -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

View File

@@ -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