summaryrefslogtreecommitdiffstats
path: root/include/android/keycodes.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/android/keycodes.h')
-rw-r--r--include/android/keycodes.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/android/keycodes.h b/include/android/keycodes.h
index 1f55d9f..421abe5 100644
--- a/include/android/keycodes.h
+++ b/include/android/keycodes.h
@@ -735,7 +735,9 @@ enum {
AKEYCODE_MEDIA_SKIP_FORWARD = 272,
AKEYCODE_MEDIA_SKIP_BACKWARD = 273,
AKEYCODE_MEDIA_STEP_FORWARD = 274,
- AKEYCODE_MEDIA_STEP_BACKWARD = 275
+ AKEYCODE_MEDIA_STEP_BACKWARD = 275,
+ /** Put device to sleep unless a wakelock is held. */
+ AKEYCODE_SOFT_SLEEP = 276
// 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.