diff options
author | Donovan Bartish <DRockstar.Epic4G@gmail.com> | 2012-06-29 11:12:25 -0700 |
---|---|---|
committer | Donovan Bartish <djdonovanbartish@yahoo.com> | 2012-07-05 07:26:52 -0700 |
commit | 84ca24573090ce971db1f23103622b2bcc55b967 (patch) | |
tree | cb3a240fb4777b16540faf7511340aeb2f3e48fe /include/ui/KeycodeLabels.h | |
parent | 9ba2de56e07106926118d4b719a8357733cbdbec (diff) | |
download | frameworks_base-84ca24573090ce971db1f23103622b2bcc55b967.zip frameworks_base-84ca24573090ce971db1f23103622b2bcc55b967.tar.gz frameworks_base-84ca24573090ce971db1f23103622b2bcc55b967.tar.bz2 |
input: add keymapping and handle www/com key for keypads in ics
Based off of this commit, updated for ics:
https://github.com/CyanogenMod/android_frameworks_base/commit/ebb5e47760cc156fba6d6a93ad0dfaeb562f4771
Allows keypads to have custom keymapping, and brings back www./.com key
function
Fixed: Corrected all wrong entries to api/current.txt,
including for those that already passed gerrit review
@hide used in java for all non aosp api
Change-Id: I0ffb35dae441e3ef7a4924492cc9168939551d3f
Diffstat (limited to 'include/ui/KeycodeLabels.h')
-rwxr-xr-x | include/ui/KeycodeLabels.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/ui/KeycodeLabels.h b/include/ui/KeycodeLabels.h index a443232..dde50f7 100755 --- a/include/ui/KeycodeLabels.h +++ b/include/ui/KeycodeLabels.h @@ -242,6 +242,19 @@ static const KeycodeLabel KEYCODES[] = { { "BRIGHTNESS_UP", 215 }, { "BRIGHTNESS_AUTO", 216 }, { "SCREENSHOT", 217 }, + { "FUNC_1", 218 }, + { "FUNC_2", 219 }, + { "FUNC_3", 220 }, + { "FUNC_4", 221 }, + { "FUNC_5", 222 }, + { "FUNC_6", 223 }, + { "FUNC_7", 224 }, + { "FUNC_8", 225 }, + { "USER1", 226 }, + { "USER2", 227 }, + { "USER3", 228 }, + { "USER4", 229 }, + { "USER5", 230 }, // NOTE: If you add a new keycode here you must also add it to several other files. // Refer to frameworks/base/core/java/android/view/KeyEvent.java for the full list. |