summaryrefslogtreecommitdiffstats
path: root/data/keyboards/Vendor_1689_Product_fd00.kl
diff options
context:
space:
mode:
authorMichael Wright <michaelwr@google.com>2013-04-04 16:57:20 -0700
committerMichael Wright <michaelwr@google.com>2013-04-17 18:00:06 -0700
commitf9c2ada62f328fac9747983185463e4e67ef4f6b (patch)
tree3713edbbb1c1a5b9ea9db3f408a53c29ffb428bd /data/keyboards/Vendor_1689_Product_fd00.kl
parent83d90b200babe43d5e91cef1bbcf0b224f48e16d (diff)
downloadframeworks_base-f9c2ada62f328fac9747983185463e4e67ef4f6b.zip
frameworks_base-f9c2ada62f328fac9747983185463e4e67ef4f6b.tar.gz
frameworks_base-f9c2ada62f328fac9747983185463e4e67ef4f6b.tar.bz2
Standardize gamepad layouts on existing controllers
Bug: 8292749 Change-Id: I24bae8c9229125fcdd583d74b29f4334ddff782e
Diffstat (limited to 'data/keyboards/Vendor_1689_Product_fd00.kl')
-rw-r--r--data/keyboards/Vendor_1689_Product_fd00.kl38
1 files changed, 38 insertions, 0 deletions
diff --git a/data/keyboards/Vendor_1689_Product_fd00.kl b/data/keyboards/Vendor_1689_Product_fd00.kl
new file mode 100644
index 0000000..6ce14ed
--- /dev/null
+++ b/data/keyboards/Vendor_1689_Product_fd00.kl
@@ -0,0 +1,38 @@
+# Copyright (C) 2013 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 Tournament Edition
+
+key 304 BUTTON_A
+key 305 BUTTON_B
+key 307 BUTTON_X
+key 308 BUTTON_Y
+key 307 BUTTON_L1
+key 308 BUTTON_R1
+key 315 BUTTON_START
+key 314 BUTTON_BACK
+key 316 BUTTON_HOME
+key 317 BUTTON_THUMBL
+key 318 BUTTON_THUMBR
+key 706 DPAD_UP
+key 705 DPAD_RIGHT
+key 707 DPAD_DOWN
+key 704 DPAD_LEFT
+
+axis 0x00 X
+axis 0x01 Y
+axis 0x03 Z
+axis 0x04 RZ
+axis 0x05 RTRIGGER
+axis 0x02 LTRIGGER