summaryrefslogtreecommitdiffstats
path: root/data/keyboards/Generic.kcm
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2010-11-18 20:52:43 -0800
committerJeff Brown <jeffbrown@google.com>2010-11-23 15:26:48 -0800
commit061cf758841dfc972be3f0ec4857762fafe49aa6 (patch)
treecc91f82982cc7e0c5af117b5ddc40560777b0bae /data/keyboards/Generic.kcm
parent86e735375eb4f681ec8501e12df4730397b4331c (diff)
downloadframeworks_base-061cf758841dfc972be3f0ec4857762fafe49aa6.zip
frameworks_base-061cf758841dfc972be3f0ec4857762fafe49aa6.tar.gz
frameworks_base-061cf758841dfc972be3f0ec4857762fafe49aa6.tar.bz2
Port Emulator keymaps.
Also added a validation tool for keymaps (not currently integrated into the build system but getting there). This change brings back Android.mk with the intent that it will be used to validate keymaps in a later change. Added some missing keys that are present on phones. Bug: 3215210 Bug: 3225421 Change-Id: Id817c6e2215164616942c51a42752915d9ceacd3
Diffstat (limited to 'data/keyboards/Generic.kcm')
-rw-r--r--data/keyboards/Generic.kcm26
1 files changed, 26 insertions, 0 deletions
diff --git a/data/keyboards/Generic.kcm b/data/keyboards/Generic.kcm
index 682584c..24b485d 100644
--- a/data/keyboards/Generic.kcm
+++ b/data/keyboards/Generic.kcm
@@ -22,6 +22,8 @@
type FULL
+### Basic QWERTY keys ###
+
key A {
label: 'A'
base: 'a'
@@ -369,6 +371,8 @@ key APOSTROPHE {
ctrl, alt, meta: none
}
+### Numeric keypad ###
+
key NUMPAD_0 {
label, number: '0'
base: fallback INSERT
@@ -499,3 +503,25 @@ key NUMPAD_ENTER {
base: '\n' fallback ENTER
ctrl, alt, meta: none fallback ENTER
}
+
+### Special keys on phones ###
+
+key AT {
+ label, number: '@'
+ base: '@'
+}
+
+key STAR {
+ label, number: '*'
+ base: '*'
+}
+
+key POUND {
+ label, number: '#'
+ base: '#'
+}
+
+key PLUS {
+ label, number: '+'
+ base: '+'
+}