From ceea45bfb079336d590deed04b8fc74521a297b6 Mon Sep 17 00:00:00 2001 From: Jeff Brown Date: Thu, 23 Jun 2011 15:39:31 -0700 Subject: 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 --- mxt224_ts_input.kl | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 mxt224_ts_input.kl (limited to 'mxt224_ts_input.kl') 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 -- cgit v1.1