summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorMichael Wright <michaelwr@google.com>2014-09-23 15:56:17 -0700
committerMichael Wright <michaelwr@google.com>2014-09-23 16:04:35 -0700
commit5ba44281c7e147eacb0c8fbac4ceaa45ed70f659 (patch)
treef6244fab803474f628ed8889ba8e32b7870e0cda /data
parent23e79fcef98618fc049af55673b43ea9e70ffa9b (diff)
downloadframeworks_base-5ba44281c7e147eacb0c8fbac4ceaa45ed70f659.zip
frameworks_base-5ba44281c7e147eacb0c8fbac4ceaa45ed70f659.tar.gz
frameworks_base-5ba44281c7e147eacb0c8fbac4ceaa45ed70f659.tar.bz2
Add keylayout for Asus Gamepad
Bug: 17627642 Change-Id: I9dd76bbc3ea0493d5a54479ef4dc94c520e35433
Diffstat (limited to 'data')
-rw-r--r--data/keyboards/Vendor_0b05_Product_4500.kl42
1 files changed, 42 insertions, 0 deletions
diff --git a/data/keyboards/Vendor_0b05_Product_4500.kl b/data/keyboards/Vendor_0b05_Product_4500.kl
new file mode 100644
index 0000000..a7d519e
--- /dev/null
+++ b/data/keyboards/Vendor_0b05_Product_4500.kl
@@ -0,0 +1,42 @@
+# Copyright (C) 2014 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.
+
+# Asus Gamepad
+
+key 304 BUTTON_A
+key 305 BUTTON_B
+key 307 BUTTON_X
+key 308 BUTTON_Y
+key 310 BUTTON_L1
+key 311 BUTTON_R1
+key 316 BUTTON_MODE
+key 317 BUTTON_THUMBL
+key 318 BUTTON_THUMBR
+
+key 158 BACK
+key 172 HOME
+
+axis 0x00 X
+axis 0x01 Y
+axis 0x02 Z
+axis 0x05 RZ
+axis 0x09 RTRIGGER
+axis 0x0a LTRIGGER
+axis 0x10 HAT_X
+axis 0x11 HAT_Y
+
+led 0x00 CONTROLLER_1
+led 0x01 CONTROLLER_2
+led 0x02 CONTROLLER_3
+led 0x03 CONTROLLER_4