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

Commit 4c264499 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add comments to Asus Gamepad button mappings"

parents c0eda8e8 7b0b609b
Loading
Loading
Loading
Loading
+11 −4
Original line number Diff line number Diff line
@@ -20,13 +20,9 @@ key 307 BUTTON_X
key 308 BUTTON_Y
key 310 BUTTON_L1
key 311 BUTTON_R1
key 316 BUTTON_MODE
key 317 BUTTON_THUMBL
key 318 BUTTON_THUMBR

key 158 BACK
key 172 HOME

axis 0x00 X
axis 0x01 Y
axis 0x02 Z
@@ -40,3 +36,14 @@ led 0x00 CONTROLLER_1
led 0x01 CONTROLLER_2
led 0x02 CONTROLLER_3
led 0x03 CONTROLLER_4

# The next 2 buttons do not follow Linux standard because this behaviour was specified by the UX
# Left arrow to the immediate left of the power button
key 158 BACK
# Circle to the immediate right of the power button
key 172 HOME


# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
# Power button
key 316 BUTTON_MODE