summaryrefslogtreecommitdiffstats
path: root/data/keyboards
diff options
context:
space:
mode:
authorMichael Wright <michaelwr@google.com>2013-04-23 16:36:29 -0700
committerMichael Wright <michaelwr@google.com>2013-05-14 00:05:05 +0000
commitd351180667d685daea50782d95d85e9d7faa48eb (patch)
tree87167de9e042bda1e146d117e7bfbabbabd5e951 /data/keyboards
parent5ffb7a8b9924ca44639fdb8d094bf162f99200a1 (diff)
downloadframeworks_base-d351180667d685daea50782d95d85e9d7faa48eb.zip
frameworks_base-d351180667d685daea50782d95d85e9d7faa48eb.tar.gz
frameworks_base-d351180667d685daea50782d95d85e9d7faa48eb.tar.bz2
Include key maps based on file name
Rather than keeping a curated list where it's easy to miss things, just pick up all of the possible key layouts, key character maps and input device configs in framework/base/data/keyboards based on filename. Change-Id: Iefa8eca491dcb6913e5b12bfda7096b6a5fedf18 (cherry picked from commit 9f5a6ee489f89c93491beef9bf64475fd2bfb0dd)
Diffstat (limited to 'data/keyboards')
-rw-r--r--data/keyboards/common.mk40
1 files changed, 3 insertions, 37 deletions
diff --git a/data/keyboards/common.mk b/data/keyboards/common.mk
index 7b36167..87c2ef5 100644
--- a/data/keyboards/common.mk
+++ b/data/keyboards/common.mk
@@ -15,42 +15,8 @@
# This is the list of framework provided keylayouts and key character maps to include.
# Used by Android.mk and keyboards.mk.
-keylayouts := \
- Generic.kl \
- AVRCP.kl \
- qwerty.kl \
- Vendor_045e_Product_028e.kl \
- Vendor_046d_Product_c216.kl \
- Vendor_046d_Product_c294.kl \
- Vendor_046d_Product_c299.kl \
- Vendor_046d_Product_c532.kl \
- Vendor_054c_Product_0268.kl \
- Vendor_05ac_Product_0239.kl \
- Vendor_22b8_Product_093d.kl \
- Vendor_0079_Product_0011.kl \
- Vendor_046d_Product_c219.kl \
- Vendor_046d_Product_c21f.kl \
- Vendor_0583_Product_2060.kl \
- Vendor_0a5c_Product_8502.kl \
- Vendor_1038_Product_1412.kl \
- Vendor_12bd_Product_d015.kl \
- Vendor_1689_Product_fd00.kl \
- Vendor_1689_Product_fd01.kl \
- Vendor_1689_Product_fe00.kl \
- Vendor_1bad_Product_f016.kl \
- Vendor_1bad_Product_f023.kl \
- Vendor_1bad_Product_f027.kl \
- Vendor_1bad_Product_f036.kl \
- Vendor_1d79_Product_0009.kl \
- Vendor_2378_Product_100a.kl
+keylayouts := $(notdir $(wildcard $(LOCAL_PATH)/*.kl))
-keycharmaps := \
- Generic.kcm \
- Virtual.kcm \
- qwerty.kcm \
- qwerty2.kcm
-
-keyconfigs := \
- qwerty.idc \
- qwerty2.idc
+keycharmaps := $(notdir $(wildcard $(LOCAL_PATH)/*.kcm))
+keyconfigs := $(notdir $(wildcard $(LOCAL_PATH)/*.idc))