Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 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.
- # USB Gamepad Controller / Twin USB Joystick
- # Select
- key 0x128 BUTTON_SELECT
- # Start
- key 0x129 BUTTON_START
- # L2 trigger
- key 0x124 BUTTON_L2
- # R2 trigger
- key 0x125 BUTTON_R2
- # L1 trigger
- key 0x126 BUTTON_L1
- # R1 trigger
- key 0x127 BUTTON_R1
- # Triangle
- key 0x120 BUTTON_Y
- # Circle
- key 0x121 BUTTON_B
- # Cross
- key 0x122 BUTTON_A
- # Square
- key 0x123 BUTTON_X
- # Analog Sticks
- axis 0x00 X
- axis 0x01 Y
- axis 0x02 RZ
- axis 0x05 Z
- # Analog Button
- key 0x12a BUTTON_THUMBL
- key 0x12b BUTTON_THUMBR
- # DPAD
- axis 0x10 HAT_X
- axis 0x11 HAT_Y
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement