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

Commit b3caa920 authored by Michael Wright's avatar Michael Wright Committed by Android Git Automerger
Browse files

am 53b6d510: am 2b296319: Merge "Standardize gamepad layouts on existing...

am 53b6d510: am 2b296319: Merge "Standardize gamepad layouts on existing controllers" into jb-mr2-dev

* commit '53b6d510':
  Standardize gamepad layouts on existing controllers
parents 032aeafd 53b6d510
Loading
Loading
Loading
Loading
+23 −0
Original line number Diff line number Diff line
# Copyright (C) 2013 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Classic NES Controller

key 289 BUTTON_A
key 290 BUTTON_B
key 297 BUTTON_START
key 296 BUTTON_SELECT

axis 0x00 HAT_X
axis 0x01 HAT_Y
+2 −2
Original line number Diff line number Diff line
@@ -22,9 +22,9 @@ key 307 BUTTON_X
key 308   BUTTON_Y
key 310   BUTTON_L1
key 311   BUTTON_R1
key 314   BUTTON_SELECT
key 314   BUTTON_BACK
key 315   BUTTON_START
key 316   BUTTON_MODE
key 316   BUTTON_HOME
key 317   BUTTON_THUMBL
key 318   BUTTON_THUMBR

+35 −0
Original line number Diff line number Diff line
# Copyright (C) 2013 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Logitech Logitech Cordless RumblePad 2

key 305 BUTTON_A
key 306 BUTTON_B
key 304 BUTTON_X
key 307 BUTTON_Y
key 308 BUTTON_L1
key 309 BUTTON_R1
key 310 BUTTON_L2
key 311 BUTTON_R2
key 313 BUTTON_START
key 312 BUTTON_BACK
key 314 BUTTON_THUMBL
key 315 BUTTON_THUMBR

axis 0x00 X
axis 0x01 Y
axis 0x02 Z
axis 0x05 RZ
axis 0x10 HAT_X
axis 0x11 HAT_Y
+36 −0
Original line number Diff line number Diff line
# Copyright (C) 2013 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Logitech Wireless Gamepad F710

key 304 BUTTON_A
key 305 BUTTON_B
key 307 BUTTON_X
key 308 BUTTON_Y
key 310 BUTTON_L1
key 311 BUTTON_R1
key 315 BUTTON_START
key 314 BUTTON_BACK
key 316 BUTTON_HOME
key 317 BUTTON_THUMBL
key 318 BUTTON_THUMBR

axis 0x00 X
axis 0x01 Y
axis 0x03 Z
axis 0x04 RZ
axis 0x05 RTRIGGER
axis 0x02 LTRIGGER
axis 0x10 HAT_X
axis 0x11 HAT_Y
+5 −5
Original line number Diff line number Diff line
@@ -23,10 +23,10 @@ key 0x127 DPAD_LEFT

key 0x120    BUTTON_SELECT
key 0x123    BUTTON_START
key 0x12f    BUTTON_A
key 0x12c    BUTTON_B
key 0x12e    BUTTON_X
key 0x12d    BUTTON_Y
key 0x12e    BUTTON_A
key 0x12d    BUTTON_B
key 0x12f    BUTTON_X
key 0x12c    BUTTON_Y
key 0x12a    BUTTON_L1
key 0x12b    BUTTON_R1
key 0x128    BUTTON_L2
@@ -35,7 +35,7 @@ key 0x121 BUTTON_THUMBL
key 0x122    BUTTON_THUMBR

# PS key
key 0x2d0    BUTTON_1
key 0x2d0    BUTTON_HOME

# Left Analog Stick
axis 0x00    X
Loading