add system files
[GitHub/Stricted/sm-g903f-system.git] / usr / keylayout / Vendor_054c_Product_0268.kl
1 # Copyright (C) 2011 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 #
16 # Sony Playstation(R)3 Controller
17 #
18
19 key 0x124 DPAD_UP
20 key 0x125 DPAD_RIGHT
21 key 0x126 DPAD_DOWN
22 key 0x127 DPAD_LEFT
23
24 key 0x120 BUTTON_SELECT
25 key 0x123 BUTTON_START
26 key 0x12e BUTTON_A
27 key 0x12d BUTTON_B
28 key 0x12f BUTTON_X
29 key 0x12c BUTTON_Y
30 key 0x12a BUTTON_L1
31 key 0x12b BUTTON_R1
32 key 0x128 BUTTON_L2
33 key 0x129 BUTTON_R2
34 key 0x121 BUTTON_THUMBL
35 key 0x122 BUTTON_THUMBR
36
37 # PS key
38 key 0x2d0 HOME
39
40 # Left Analog Stick
41 axis 0x00 X
42 axis 0x01 Y
43
44 # Right Analog Stick
45 axis 0x02 Z
46 axis 0x05 RZ
47
48 # DPAD
49 # axis 0x2c -HAT_Y
50 # axis 0x2d +HAT_X
51 # axis 0x2e +HAT_Y
52 # axis 0x2f -HAT_X
53
54 # L2 trigger
55 axis 0x30 LTRIGGER
56
57 # R2 trigger
58 axis 0x31 RTRIGGER
59
60 # L1 trigger
61 # axis 0x32
62
63 # R1 trigger
64 # axis 0x33
65
66 # Triangle
67 # axis 0x34
68
69 # Circle
70 # axis 0x35
71
72 # Cross
73 # axis 0x36
74
75 # Square
76 # axis 0x37