add system files
[GitHub/Stricted/sm-g903f-system.git] / usr / keylayout / Vendor_046d_Product_b501.kl
1 # Copyright (C) 2014 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 # Logitech Bluetooth wireless gamepad (RedHawk)
16
17 key 304 BUTTON_A
18 key 305 BUTTON_B
19 key 307 BUTTON_X
20 key 308 BUTTON_Y
21 key 310 BUTTON_L1
22 key 311 BUTTON_R1
23 key 312 BUTTON_L2
24 key 313 BUTTON_R2
25
26 key 314 BUTTON_SELECT
27 key 315 BUTTON_START
28 key 316 BUTTON_MODE
29 key 317 BUTTON_THUMBL
30 key 318 BUTTON_THUMBR
31
32 key 103 DPAD_UP
33 key 105 DPAD_LEFT
34 key 106 DPAD_RIGHT
35 key 108 DPAD_DOWN
36 key 353 DPAD_CENTER
37
38 key 113 VOLUME_MUTE
39 key 114 VOLUME_DOWN
40 key 115 VOLUME_UP
41 key 152 POWER
42 key 163 MEDIA_NEXT
43 key 164 MEDIA_PLAY_PAUSE
44 key 165 MEDIA_PREVIOUS
45
46 key 158 BACK
47 key 172 HOME
48
49 key 217 SEARCH
50 key 580 APP_SWITCH
51 key 582 ASSIST
52
53 axis 0x00 X
54 axis 0x01 Y
55 axis 0x02 Z
56 axis 0x05 RZ
57 axis 0x09 RTRIGGER
58 axis 0x0a LTRIGGER
59 axis 0x10 HAT_X
60 axis 0x11 HAT_Y
61
62 led 0x00 CONTROLLER_1
63 led 0x01 CONTROLLER_2
64 led 0x02 CONTROLLER_3
65 led 0x03 CONTROLLER_4