summaryrefslogtreecommitdiffstats
path: root/herring-keypad.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 /herring-keypad.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 'herring-keypad.kl')
-rw-r--r--herring-keypad.kl6
1 files changed, 3 insertions, 3 deletions
diff --git a/herring-keypad.kl b/herring-keypad.kl
index 320a340..6dd0ebd 100644
--- a/herring-keypad.kl
+++ b/herring-keypad.kl
@@ -12,6 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-114 VOLUME_DOWN WAKE
-115 VOLUME_UP WAKE
-116 POWER WAKE
+key 114 VOLUME_DOWN WAKE
+key 115 VOLUME_UP WAKE
+key 116 POWER WAKE