Advertisement
NaruKage

Vendor_0810_Product_0001.kl

May 21st, 2019
466
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. # Copyright (C) 2013 The Android Open Source Project
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License.
  14.  
  15. # USB Gamepad Controller / Twin USB Joystick
  16.  
  17. # Select
  18. key 0x128 BUTTON_SELECT
  19.  
  20. # Start
  21. key 0x129 BUTTON_START
  22.  
  23. # L2 trigger
  24. key 0x124 BUTTON_L2
  25.  
  26. # R2 trigger
  27. key 0x125 BUTTON_R2
  28.  
  29. # L1 trigger
  30. key 0x126 BUTTON_L1
  31.  
  32. # R1 trigger
  33. key 0x127 BUTTON_R1
  34.  
  35. # Triangle
  36. key 0x120 BUTTON_Y
  37.  
  38. # Circle
  39. key 0x121 BUTTON_B
  40.  
  41. # Cross
  42. key 0x122 BUTTON_A
  43.  
  44. # Square
  45. key 0x123 BUTTON_X
  46.  
  47. # Analog Sticks
  48. axis 0x00 X
  49. axis 0x01 Y
  50. axis 0x02 RZ
  51. axis 0x05 Z
  52.  
  53. # Analog Button
  54. key 0x12a BUTTON_THUMBL
  55. key 0x12b BUTTON_THUMBR
  56.  
  57. # DPAD
  58. axis 0x10 HAT_X
  59. axis 0x11 HAT_Y
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement