LRX21M.vC1O-0
[GitHub/mt8127/ttab-system.git] / system / usr / keylayout / Vendor_046d_Product_c299.kl
CommitLineData
d05bb22f
S
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 Native Mode)
17#
18
19# 4 way buttons above hat
20key 0x121 BUTTON_A
21key 0x123 BUTTON_B
22key 0x120 BUTTON_X
23key 0x122 BUTTON_Y
24
25# Row of buttons under hat
26key 0x12b BUTTON_1
27key 0x128 BUTTON_2
28key 0x129 BUTTON_3
29key 0x12a BUTTON_4
30
31# Gear shift positions
32key 0x12c BUTTON_5
33key 0x12d BUTTON_6
34key 0x12e BUTTON_7
35key 0x12f BUTTON_8
36key 0x2d0 BUTTON_9
37key 0x2d1 BUTTON_10
38key 0x2d2 BUTTON_11
39
40# Buttons on wheel
41key 0x127 BUTTON_L1
42key 0x126 BUTTON_R1
43
44# Toggles under wheel
45key 0x125 BUTTON_L2
46key 0x124 BUTTON_R2
47
48# Hat
49axis 0x10 HAT_X
50axis 0x11 HAT_Y
51
52# Steering Wheel
53axis 0x00 WHEEL
54
55# Clutch
56axis 0x01 invert GENERIC_1
57
58# Accelerator
59axis 0x02 invert GAS
60
61# Brake
62axis 0x05 invert BRAKE