summaryrefslogtreecommitdiffstats
path: root/native
diff options
context:
space:
mode:
authorDonovan Bartish <DRockstar.Epic4G@gmail.com>2012-06-29 11:12:25 -0700
committerDonovan Bartish <djdonovanbartish@yahoo.com>2012-07-05 07:26:52 -0700
commit84ca24573090ce971db1f23103622b2bcc55b967 (patch)
treecb3a240fb4777b16540faf7511340aeb2f3e48fe /native
parent9ba2de56e07106926118d4b719a8357733cbdbec (diff)
downloadframeworks_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.h13
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.