summaryrefslogtreecommitdiffstats
path: root/include/android
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2014-03-07 13:57:59 -0800
committerJeff Brown <jeffbrown@google.com>2014-03-07 13:57:59 -0800
commit37bf0789f5c1167f6f7f5667b09cad70e0bb27d4 (patch)
tree95fa61cfdc40f23117f358835c7b24f896893129 /include/android
parent3a867ddcdc7c65f6b07d2eeeebf6a3e520bd1cf0 (diff)
downloadframeworks_native-37bf0789f5c1167f6f7f5667b09cad70e0bb27d4.zip
frameworks_native-37bf0789f5c1167f6f7f5667b09cad70e0bb27d4.tar.gz
frameworks_native-37bf0789f5c1167f6f7f5667b09cad70e0bb27d4.tar.bz2
Declare KEYCODE_SLEEP and KEYCODE_WAKEUP.
Bug: 12938999 Change-Id: I544661b3887332998d703b7b2df9e56c23ab48c4
Diffstat (limited to 'include/android')
-rw-r--r--include/android/keycodes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/android/keycodes.h b/include/android/keycodes.h
index 1ca1332..b6a5f4c 100644
--- a/include/android/keycodes.h
+++ b/include/android/keycodes.h
@@ -266,6 +266,8 @@ enum {
AKEYCODE_BRIGHTNESS_DOWN = 220,
AKEYCODE_BRIGHTNESS_UP = 221,
AKEYCODE_MEDIA_AUDIO_TRACK = 222,
+ AKEYCODE_SLEEP = 223,
+ AKEYCODE_WAKEUP = 224,
// 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.