summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaulK <contact@paulk.fr>2012-04-18 22:35:56 +0200
committerPaulK <contact@paulk.fr>2012-04-18 22:35:56 +0200
commitaa122a614c0e9862207dee7c76bb7916c3d482ae (patch)
tree67f8a172680f6cab5c725a09935695fbfa90cb4b
parent51a458eb4462c99de8480ffc4136d8e3ded37b2b (diff)
downloaddevice_goldelico_gta04-aa122a614c0e9862207dee7c76bb7916c3d482ae.zip
device_goldelico_gta04-aa122a614c0e9862207dee7c76bb7916c3d482ae.tar.gz
device_goldelico_gta04-aa122a614c0e9862207dee7c76bb7916c3d482ae.tar.bz2
Added keylayout files for POWER and AUX buttons
-rw-r--r--gpio-keys.kl1
-rw-r--r--gta04.mk5
-rw-r--r--twl4030_pwrbutton.kl1
3 files changed, 5 insertions, 2 deletions
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