summaryrefslogtreecommitdiff
path: root/gpio-keys.kl
diff options
context:
space:
mode:
authorChun Zhang <chunz@codeaurora.org>2013-11-01 19:29:53 -0700
committerChun Zhang <chunz@codeaurora.org>2013-11-15 12:37:07 -0800
commitff31f6c7bf69ae32fc1f6577860f729d14e02720 (patch)
tree5dde71fb005b5055c7aae45e2a123c578de54b4d /gpio-keys.kl
parent2378ef7408c43700d4ce2c117d5b852a3a87777b (diff)
downloadmarlin-ff31f6c7bf69ae32fc1f6577860f729d14e02720.tar.gz
Add GPIO Key layout for APQ8084
Support keys for Volume up and down, camera focus, snapshot and home on 8084. Change-Id: I7b52788ed33ccfb948bdc70a61214983be344795
Diffstat (limited to 'gpio-keys.kl')
-rw-r--r--gpio-keys.kl31
1 files changed, 31 insertions, 0 deletions
diff --git a/gpio-keys.kl b/gpio-keys.kl
new file mode 100644
index 00000000..12feebc4
--- /dev/null
+++ b/gpio-keys.kl
@@ -0,0 +1,31 @@
+# Copyright (c) 2013, The Linux Foundation. All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are
+# met:
+# * Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+# * Redistributions in binary form must reproduce the above
+# copyright notice, this list of conditions and the following
+# disclaimer in the documentation and/or other materials provided
+# with the distribution.
+# * Neither the name of The Linux Foundation nor the names of its
+# contributors may be used to endorse or promote products derived
+# from this software without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
+# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
+# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+
+key 115 VOLUME_UP WAKE_DROPPED
+key 114 VOLUME_DOWN WAKE_DROPPED
+key 102 HOME WAKE_DROPPED
+key 528 FOCUS WAKE_DROPPED
+key 766 CAMERA WAKE_DROPPED