From aa122a614c0e9862207dee7c76bb7916c3d482ae Mon Sep 17 00:00:00 2001 From: PaulK Date: Wed, 18 Apr 2012 22:35:56 +0200 Subject: Added keylayout files for POWER and AUX buttons --- gpio-keys.kl | 1 + gta04.mk | 5 +++-- twl4030_pwrbutton.kl | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 gpio-keys.kl create mode 100644 twl4030_pwrbutton.kl diff --git a/gpio-keys.kl b/gpio-keys.kl new file mode 100644 index 0000000..3d30e23 --- /dev/null +++ b/gpio-keys.kl @@ -0,0 +1 @@ +key 169 BACK WAKE_DROPPED diff --git a/gta04.mk b/gta04.mk index 645072c..2544b21 100644 --- a/gta04.mk +++ b/gta04.mk @@ -13,9 +13,10 @@ # limitations under the License. # Hardware -# TODO: keymaps PRODUCT_COPY_FILES := \ - device/goldelico/gta04/vold.fstab:system/etc/vold.fstab + device/goldelico/gta04/vold.fstab:system/etc/vold.fstab \ + device/goldelico/gta04/twl4030_pwrbutton.kl:system/usr/keylayout/twl4030_pwrbutton.kl \ + device/goldelico/gta04/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl # APNS PRODUCT_COPY_FILES += \ diff --git a/twl4030_pwrbutton.kl b/twl4030_pwrbutton.kl new file mode 100644 index 0000000..ef2c8f6 --- /dev/null +++ b/twl4030_pwrbutton.kl @@ -0,0 +1 @@ +key 116 POWER WAKE -- cgit v1.1