OSDN Git Service

Merge "DO NOT MERGE Do not call RecoverySystem with DPMS lock held" into lmp-dev...
[android-x86/frameworks-base.git] / data / keyboards / Vendor_046d_Product_c294.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 # Logitech G25 Racing Wheel (in Compatibility Mode)
17 #
18
19 # 4 way buttons above hat
20 key 0x121    BUTTON_A
21 key 0x123    BUTTON_B
22 key 0x120    BUTTON_X
23 key 0x122    BUTTON_Y
24
25 # Row of buttons under hat
26 key 0x12b    BUTTON_1
27 key 0x128    BUTTON_2
28 key 0x129    BUTTON_3
29 key 0x12a    BUTTON_4
30
31 # Gear shift positions
32 #   0x12a top-left gear (aliased as BUTTON_4)
33 #   0x12b bottom-left gear (aliased as BUTTON_1)
34
35 # Buttons on wheel
36 key 0x127    BUTTON_L1
37 key 0x126    BUTTON_R1
38
39 # Toggles under wheel
40 key 0x125    BUTTON_L2
41 key 0x124    BUTTON_R2
42
43 # Hat
44 axis 0x10    HAT_X
45 axis 0x11    HAT_Y
46
47 # Steering Wheel
48 axis 0x00    WHEEL
49
50 # Accelerator / Brake
51 #   00..7e : accelerator
52 #   80..ff : brake
53 axis 0x01    split 0x7f GAS BRAKE