Merge "Add key layouts for Xbox clones" into rvc-dev am: 6f01c62d29 am: 69780947ce
Change-Id: I7b73c8100bb41ac41f4bffa694d1f157a12c4f15
This commit is contained in:
58
data/keyboards/Vendor_0079_Product_18d4.kl
Normal file
58
data/keyboards/Vendor_0079_Product_18d4.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# GPD Win 2 X-Box Controller
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_044f_Product_b326.kl
Normal file
58
data/keyboards/Vendor_044f_Product_b326.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Thrustmaster Gamepad GP XID
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_045e_Product_028f.kl
Normal file
58
data/keyboards/Vendor_045e_Product_028f.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Microsoft X-Box 360 pad v2
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_046d_Product_c21e.kl
Normal file
58
data/keyboards/Vendor_046d_Product_c21e.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Logitech Gamepad F510
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_046d_Product_c242.kl
Normal file
58
data/keyboards/Vendor_046d_Product_c242.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Logitech Chillstream Controller
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_056e_Product_2004.kl
Normal file
58
data/keyboards/Vendor_056e_Product_2004.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Elecom JC-U3613M
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_06a3_Product_f51a.kl
Normal file
58
data/keyboards/Vendor_06a3_Product_f51a.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Saitek P3600
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_0738_Product_4716.kl
Normal file
58
data/keyboards/Vendor_0738_Product_4716.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Mad Catz Wired Xbox 360 Controller
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_0738_Product_4718.kl
Normal file
58
data/keyboards/Vendor_0738_Product_4718.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Mad Catz Street Fighter IV FightStick SE
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_0738_Product_4726.kl
Normal file
58
data/keyboards/Vendor_0738_Product_4726.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Mad Catz Xbox 360 Controller
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_0738_Product_4736.kl
Normal file
58
data/keyboards/Vendor_0738_Product_4736.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Mad Catz MicroCon Gamepad
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_0738_Product_4740.kl
Normal file
58
data/keyboards/Vendor_0738_Product_4740.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Mad Catz Beat Pad
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_0738_Product_9871.kl
Normal file
58
data/keyboards/Vendor_0738_Product_9871.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Mad Catz Portable Drum
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_0738_Product_b726.kl
Normal file
58
data/keyboards/Vendor_0738_Product_b726.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Mad Catz Xbox controller - MW2
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_0738_Product_beef.kl
Normal file
58
data/keyboards/Vendor_0738_Product_beef.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Mad Catz JOYTECH NEO SE Advanced GamePad
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_0738_Product_cb02.kl
Normal file
58
data/keyboards/Vendor_0738_Product_cb02.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Saitek Cyborg Rumble Pad - PC/Xbox 360
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_0738_Product_cb03.kl
Normal file
58
data/keyboards/Vendor_0738_Product_cb03.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Saitek P3200 Rumble Pad - PC/Xbox 360
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_0738_Product_cb29.kl
Normal file
58
data/keyboards/Vendor_0738_Product_cb29.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Saitek Aviator Stick AV8R02
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_0738_Product_f738.kl
Normal file
58
data/keyboards/Vendor_0738_Product_f738.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Super SFIV FightStick TE S
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_07ff_Product_ffff.kl
Normal file
58
data/keyboards/Vendor_07ff_Product_ffff.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Mad Catz GamePad
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_0e6f_Product_0113.kl
Normal file
58
data/keyboards/Vendor_0e6f_Product_0113.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Afterglow AX.1 Gamepad for Xbox 360
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_0e6f_Product_011f.kl
Normal file
58
data/keyboards/Vendor_0e6f_Product_011f.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Rock Candy Gamepad Wired Controller
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_0e6f_Product_0131.kl
Normal file
58
data/keyboards/Vendor_0e6f_Product_0131.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# PDP EA Sports Controller
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_0e6f_Product_0133.kl
Normal file
58
data/keyboards/Vendor_0e6f_Product_0133.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Xbox 360 Wired Controller
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_0e6f_Product_0139.kl
Normal file
58
data/keyboards/Vendor_0e6f_Product_0139.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Afterglow Prismatic Wired Controller
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_0e6f_Product_013a.kl
Normal file
58
data/keyboards/Vendor_0e6f_Product_013a.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# PDP Xbox One Controller
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_0e6f_Product_0146.kl
Normal file
58
data/keyboards/Vendor_0e6f_Product_0146.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Rock Candy Wired Controller for Xbox One
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_0e6f_Product_0147.kl
Normal file
58
data/keyboards/Vendor_0e6f_Product_0147.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# PDP Marvel Xbox One Controller
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_0e6f_Product_0161.kl
Normal file
58
data/keyboards/Vendor_0e6f_Product_0161.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# PDP Xbox One Controller
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_0e6f_Product_0162.kl
Normal file
58
data/keyboards/Vendor_0e6f_Product_0162.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# PDP Xbox One Controller
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_0e6f_Product_0163.kl
Normal file
58
data/keyboards/Vendor_0e6f_Product_0163.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# PDP Xbox One Controller
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_0e6f_Product_0164.kl
Normal file
58
data/keyboards/Vendor_0e6f_Product_0164.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# PDP Battlefield One
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_0e6f_Product_0165.kl
Normal file
58
data/keyboards/Vendor_0e6f_Product_0165.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# PDP Titanfall 2
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_0e6f_Product_0201.kl
Normal file
58
data/keyboards/Vendor_0e6f_Product_0201.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Pelican PL-3601 'TSZ' Wired Xbox 360 Controller
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_0e6f_Product_0213.kl
Normal file
58
data/keyboards/Vendor_0e6f_Product_0213.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Afterglow Gamepad for Xbox 360
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_0e6f_Product_021f.kl
Normal file
58
data/keyboards/Vendor_0e6f_Product_021f.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Rock Candy Gamepad for Xbox 360
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_0e6f_Product_0246.kl
Normal file
58
data/keyboards/Vendor_0e6f_Product_0246.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Rock Candy Gamepad for Xbox One 2015
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_0e6f_Product_02a6.kl
Normal file
58
data/keyboards/Vendor_0e6f_Product_02a6.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# PDP Wired Controller for Xbox One - Camo Series
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_0e6f_Product_02ab.kl
Normal file
58
data/keyboards/Vendor_0e6f_Product_02ab.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# PDP Controller for Xbox One
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_0e6f_Product_0301.kl
Normal file
58
data/keyboards/Vendor_0e6f_Product_0301.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Logic3 Controller
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_0e6f_Product_0346.kl
Normal file
58
data/keyboards/Vendor_0e6f_Product_0346.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Rock Candy Gamepad for Xbox One 2016
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_0e6f_Product_0401.kl
Normal file
58
data/keyboards/Vendor_0e6f_Product_0401.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Logic3 Controller
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_0e6f_Product_0413.kl
Normal file
58
data/keyboards/Vendor_0e6f_Product_0413.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Afterglow AX.1 Gamepad for Xbox 360
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_0e6f_Product_0501.kl
Normal file
58
data/keyboards/Vendor_0e6f_Product_0501.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# PDP Xbox 360 Controller
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_0e6f_Product_f900.kl
Normal file
58
data/keyboards/Vendor_0e6f_Product_f900.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# PDP Afterglow AX.1
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_0f0d_Product_000a.kl
Normal file
58
data/keyboards/Vendor_0f0d_Product_000a.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Hori Co. DOA4 FightStick
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_0f0d_Product_000c.kl
Normal file
58
data/keyboards/Vendor_0f0d_Product_000c.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Hori PadEX Turbo
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_0f0d_Product_0067.kl
Normal file
58
data/keyboards/Vendor_0f0d_Product_0067.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# HORIPAD ONE
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_1038_Product_1430.kl
Normal file
58
data/keyboards/Vendor_1038_Product_1430.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# SteelSeries Stratus Duo
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_1038_Product_1431.kl
Normal file
58
data/keyboards/Vendor_1038_Product_1431.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# SteelSeries Stratus Duo
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_11c9_Product_55f0.kl
Normal file
58
data/keyboards/Vendor_11c9_Product_55f0.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Nacon GC-100XF
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_12ab_Product_0301.kl
Normal file
58
data/keyboards/Vendor_12ab_Product_0301.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# PDP AFTERGLOW AX.1
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_1430_Product_4748.kl
Normal file
58
data/keyboards/Vendor_1430_Product_4748.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# RedOctane Guitar Hero X-plorer
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_1430_Product_f801.kl
Normal file
58
data/keyboards/Vendor_1430_Product_f801.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# RedOctane Controller
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_146b_Product_0601.kl
Normal file
58
data/keyboards/Vendor_146b_Product_0601.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# BigBen Interactive XBOX 360 Controller
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_1532_Product_0037.kl
Normal file
58
data/keyboards/Vendor_1532_Product_0037.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Razer Sabertooth
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_1532_Product_0a03.kl
Normal file
58
data/keyboards/Vendor_1532_Product_0a03.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Razer Wildcat
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_15e4_Product_3f00.kl
Normal file
58
data/keyboards/Vendor_15e4_Product_3f00.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Power A Mini Pro Elite
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_15e4_Product_3f0a.kl
Normal file
58
data/keyboards/Vendor_15e4_Product_3f0a.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Xbox Airflo wired controller
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_15e4_Product_3f10.kl
Normal file
58
data/keyboards/Vendor_15e4_Product_3f10.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Batarang Xbox 360 controller
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_162e_Product_beef.kl
Normal file
58
data/keyboards/Vendor_162e_Product_beef.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Joytech Neo-Se Take2
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_1bad_Product_0002.kl
Normal file
58
data/keyboards/Vendor_1bad_Product_0002.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Harmonix Rock Band Guitar
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_1bad_Product_f021.kl
Normal file
58
data/keyboards/Vendor_1bad_Product_f021.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Mad Cats Ghost Recon FS GamePad
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_1bad_Product_f025.kl
Normal file
58
data/keyboards/Vendor_1bad_Product_f025.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Mad Catz Call Of Duty
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_1bad_Product_f028.kl
Normal file
58
data/keyboards/Vendor_1bad_Product_f028.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Street Fighter IV FightPad
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_1bad_Product_f038.kl
Normal file
58
data/keyboards/Vendor_1bad_Product_f038.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Street Fighter IV FightStick TE
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_1bad_Product_f501.kl
Normal file
58
data/keyboards/Vendor_1bad_Product_f501.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# HoriPad EX2 Turbo
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_1bad_Product_f506.kl
Normal file
58
data/keyboards/Vendor_1bad_Product_f506.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Hori Real Arcade Pro.EX Premium VLX
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_1bad_Product_f900.kl
Normal file
58
data/keyboards/Vendor_1bad_Product_f900.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Harmonix Xbox 360 Controller
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_1bad_Product_f901.kl
Normal file
58
data/keyboards/Vendor_1bad_Product_f901.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Gamestop Xbox 360 Controller
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_1bad_Product_f903.kl
Normal file
58
data/keyboards/Vendor_1bad_Product_f903.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Tron Xbox 360 controller
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_1bad_Product_f904.kl
Normal file
58
data/keyboards/Vendor_1bad_Product_f904.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# PDP Versus Fighting Pad
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_1bad_Product_fa01.kl
Normal file
58
data/keyboards/Vendor_1bad_Product_fa01.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# MadCatz GamePad
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_1bad_Product_fd00.kl
Normal file
58
data/keyboards/Vendor_1bad_Product_fd00.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Razer Onza TE
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_1bad_Product_fd01.kl
Normal file
58
data/keyboards/Vendor_1bad_Product_fd01.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Razer Onza
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_24c6_Product_5300.kl
Normal file
58
data/keyboards/Vendor_24c6_Product_5300.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# PowerA MINI PROEX Controller
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_24c6_Product_5303.kl
Normal file
58
data/keyboards/Vendor_24c6_Product_5303.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Xbox Airflo wired controller
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_24c6_Product_530a.kl
Normal file
58
data/keyboards/Vendor_24c6_Product_530a.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Xbox 360 Pro EX Controller
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_24c6_Product_531a.kl
Normal file
58
data/keyboards/Vendor_24c6_Product_531a.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# PowerA Pro Ex
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_24c6_Product_5397.kl
Normal file
58
data/keyboards/Vendor_24c6_Product_5397.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# FUS1ON Tournament Controller
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_24c6_Product_541a.kl
Normal file
58
data/keyboards/Vendor_24c6_Product_541a.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# PowerA Xbox One Mini Wired Controller
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_24c6_Product_542a.kl
Normal file
58
data/keyboards/Vendor_24c6_Product_542a.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Xbox ONE spectra
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_24c6_Product_543a.kl
Normal file
58
data/keyboards/Vendor_24c6_Product_543a.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# PowerA Xbox One wired controller
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_24c6_Product_5500.kl
Normal file
58
data/keyboards/Vendor_24c6_Product_5500.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Hori XBOX 360 EX 2 with Turbo
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_24c6_Product_5501.kl
Normal file
58
data/keyboards/Vendor_24c6_Product_5501.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Hori Real Arcade Pro VX-SA
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_24c6_Product_5506.kl
Normal file
58
data/keyboards/Vendor_24c6_Product_5506.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Hori SOULCALIBUR V Stick
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_24c6_Product_550d.kl
Normal file
58
data/keyboards/Vendor_24c6_Product_550d.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Hori GEM Xbox controller
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_24c6_Product_551a.kl
Normal file
58
data/keyboards/Vendor_24c6_Product_551a.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# PowerA FUSION Pro Controller
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_24c6_Product_561a.kl
Normal file
58
data/keyboards/Vendor_24c6_Product_561a.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# PowerA FUSION Controller
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_24c6_Product_5b02.kl
Normal file
58
data/keyboards/Vendor_24c6_Product_5b02.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Thrustmaster, Inc. GPX Controller
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_24c6_Product_5d04.kl
Normal file
58
data/keyboards/Vendor_24c6_Product_5d04.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Razer Sabertooth
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
58
data/keyboards/Vendor_24c6_Product_fafe.kl
Normal file
58
data/keyboards/Vendor_24c6_Product_fafe.kl
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
#
|
||||
# Rock Candy Gamepad for Xbox 360
|
||||
# Autogenerated based on Vendor_045e_Product_02ea.kl (XBox One Controller - Model 1708)
|
||||
#
|
||||
|
||||
# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html
|
||||
|
||||
key 304 BUTTON_A
|
||||
key 305 BUTTON_B
|
||||
key 307 BUTTON_X
|
||||
key 308 BUTTON_Y
|
||||
|
||||
key 310 BUTTON_L1
|
||||
key 311 BUTTON_R1
|
||||
|
||||
# Triggers.
|
||||
axis 0x02 LTRIGGER
|
||||
axis 0x05 RTRIGGER
|
||||
|
||||
# Left and right stick.
|
||||
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
|
||||
# This confuses applications that rely on the flat value because the joystick actually
|
||||
# settles in a flat range of +/- 4096 or so.
|
||||
axis 0x00 X flat 4096
|
||||
axis 0x01 Y flat 4096
|
||||
axis 0x03 Z flat 4096
|
||||
axis 0x04 RZ flat 4096
|
||||
|
||||
key 317 BUTTON_THUMBL
|
||||
key 318 BUTTON_THUMBR
|
||||
|
||||
# Hat.
|
||||
axis 0x10 HAT_X
|
||||
axis 0x11 HAT_Y
|
||||
|
||||
|
||||
# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt
|
||||
# Two overlapping rectangles
|
||||
key 314 BUTTON_SELECT
|
||||
# Hamburger - 3 parallel lines
|
||||
key 315 BUTTON_START
|
||||
|
||||
# Xbox key
|
||||
key 316 BUTTON_MODE
|
||||
Reference in New Issue
Block a user