summaryrefslogtreecommitdiffstats
path: root/mxt224_ts_input.kl
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2011-06-23 15:39:31 -0700
committerJeff Brown <jeffbrown@google.com>2011-06-23 15:44:38 -0700
commitceea45bfb079336d590deed04b8fc74521a297b6 (patch)
treef9e75b920e4a525822bd378f84f7e9210c940685 /mxt224_ts_input.kl
parentfc398af5f80ba522da2f95453566be800edd4021 (diff)
downloaddevice_samsung_crespo-ceea45bfb079336d590deed04b8fc74521a297b6.tar.gz
device_samsung_crespo-ceea45bfb079336d590deed04b8fc74521a297b6.tar.bz2
device_samsung_crespo-ceea45bfb079336d590deed04b8fc74521a297b6.zip
Fix keylayouts for ICS.
Some Crespo devices have a single combined touchscreen and use the framework virtual key support instead of having a separate capacitive keypad sensor. The default key layout changed in Honeycomb which had the effect of breaking the HOME key on these devices. Added a new key layout to explicitly map the virtual keys. Also fixed an old key layout that used obsolete syntax. Bug: 4901533 Change-Id: I3281b516ea44a150ec85da29bc5f0f3c00da2e6b
Diffstat (limited to 'mxt224_ts_input.kl')
-rw-r--r--mxt224_ts_input.kl18
1 files changed, 18 insertions, 0 deletions
diff --git a/mxt224_ts_input.kl b/mxt224_ts_input.kl
new file mode 100644
index 0000000..bea3f40
--- /dev/null
+++ b/mxt224_ts_input.kl
@@ -0,0 +1,18 @@
+# Copyright (C) 2011 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+key 158 BACK WAKE
+key 139 MENU WAKE
+key 217 SEARCH WAKE
+key 102 HOME WAKE