summaryrefslogtreecommitdiffstats
path: root/native
diff options
context:
space:
mode:
authorAlexander Hofbauer <alex@derhofbauer.at>2012-04-10 18:37:31 +0200
committerAlexander Hofbauer <alex@derhofbauer.at>2012-05-01 19:47:46 +0200
commit70c7bd81dd33beb5c0e9aa0ae61d19ed319228c4 (patch)
tree93e4f438da8ac74fa5a3587e1a10eae06fa5d55f /native
parent75b2e6d76e1354c7f0279f8b3927d849f28ba80a (diff)
downloadframeworks_base-70c7bd81dd33beb5c0e9aa0ae61d19ed319228c4.zip
frameworks_base-70c7bd81dd33beb5c0e9aa0ae61d19ed319228c4.tar.gz
frameworks_base-70c7bd81dd33beb5c0e9aa0ae61d19ed319228c4.tar.bz2
Implement additional keycodes
Adds keys for *) WLAN, Bluetooth, touchpad toggle, *) brightness down, up, auto and *) screenshot as found on docks of current Asus Transformer devices. Change-Id: I94a5a4e80e5de85db49a1044c7dcb9ef28db075c
Diffstat (limited to 'native')
-rw-r--r--native/include/android/keycodes.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/native/include/android/keycodes.h b/native/include/android/keycodes.h
index 8414ff6..f9c808d 100644
--- a/native/include/android/keycodes.h
+++ b/native/include/android/keycodes.h
@@ -254,6 +254,13 @@ enum {
AKEYCODE_CALENDAR = 208,
AKEYCODE_MUSIC = 209,
AKEYCODE_CALCULATOR = 210,
+ AKEYCODE_TOGGLE_WIFI = 211,
+ AKEYCODE_TOGGLE_BT = 212,
+ AKEYCODE_TOGGLE_TOUCHPAD = 213,
+ AKEYCODE_BRIGHTNESS_DOWN = 214,
+ AKEYCODE_BRIGHTNESS_UP = 215,
+ AKEYCODE_BRIGHTNESS_AUTO = 216,
+ AKEYCODE_SCREENSHOT = 217,
// 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.