diff options
author | Jeff Brown <jeffbrown@google.com> | 2014-03-07 13:57:59 -0800 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2014-03-07 13:57:59 -0800 |
commit | 37bf0789f5c1167f6f7f5667b09cad70e0bb27d4 (patch) | |
tree | 95fa61cfdc40f23117f358835c7b24f896893129 /include/input/KeycodeLabels.h | |
parent | 3a867ddcdc7c65f6b07d2eeeebf6a3e520bd1cf0 (diff) | |
download | frameworks_native-37bf0789f5c1167f6f7f5667b09cad70e0bb27d4.tar.gz frameworks_native-37bf0789f5c1167f6f7f5667b09cad70e0bb27d4.tar.bz2 frameworks_native-37bf0789f5c1167f6f7f5667b09cad70e0bb27d4.zip |
Declare KEYCODE_SLEEP and KEYCODE_WAKEUP.
Bug: 12938999
Change-Id: I544661b3887332998d703b7b2df9e56c23ab48c4
Diffstat (limited to 'include/input/KeycodeLabels.h')
-rw-r--r-- | include/input/KeycodeLabels.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/input/KeycodeLabels.h b/include/input/KeycodeLabels.h index 19582e920..a8d63da50 100644 --- a/include/input/KeycodeLabels.h +++ b/include/input/KeycodeLabels.h @@ -247,6 +247,8 @@ static const KeycodeLabel KEYCODES[] = { { "BRIGHTNESS_DOWN", 220 }, { "BRIGHTNESS_UP", 221 }, { "MEDIA_AUDIO_TRACK", 222 }, + { "SLEEP", 223 }, + { "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. |