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 /native | |
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 'native')
-rw-r--r-- | native/include/android/keycodes.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/native/include/android/keycodes.h b/native/include/android/keycodes.h index f9c808d..44611e0 100644 --- a/native/include/android/keycodes.h +++ b/native/include/android/keycodes.h @@ -261,6 +261,19 @@ enum { AKEYCODE_BRIGHTNESS_UP = 215, AKEYCODE_BRIGHTNESS_AUTO = 216, AKEYCODE_SCREENSHOT = 217, + AKEYCODE_FUNC_1 = 218, + AKEYCODE_FUNC_2 = 219, + AKEYCODE_FUNC_3 = 220, + AKEYCODE_FUNC_4 = 221, + AKEYCODE_FUNC_5 = 222, + AKEYCODE_FUNC_6 = 223, + AKEYCODE_FUNC_7 = 224, + AKEYCODE_FUNC_8 = 225, + AKEYCODE_USER1 = 226, + AKEYCODE_USER2 = 227, + AKEYCODE_USER3 = 228, + AKEYCODE_USER4 = 229, + AKEYCODE_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. |