Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d3511806 authored by Michael Wright's avatar Michael Wright
Browse files

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)
parent 5ffb7a8b
Loading
Loading
Loading
Loading
+3 −37
Original line number Diff line number Diff line
@@ -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))