aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorYu Luming <luming.yu@intel.com>2007-08-23 23:05:55 -0400
committerLen Brown <len.brown@intel.com>2007-08-23 23:05:55 -0400
commita7ecd1ea913346a72f41a002c365882dc05c9bd5 (patch)
treefca8df6da0efe827c4d732049359db1b1d4b79b6 /include/linux
parentb377fd3982ad957c796758a90e2988401a884241 (diff)
ACPI: video: Add keycode for ACPI video driver hotkey events.
Signed-off-by: Luming Yu <luming.yu@intel.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/input.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/input.h b/include/linux/input.h
index e02c6a66b2b..cf2b5619aa1 100644
--- a/include/linux/input.h
+++ b/include/linux/input.h
@@ -363,6 +363,12 @@ struct input_absinfo {
#define KEY_UNKNOWN 240
+#define KEY_VIDEO_NEXT 241 /* drive next video source */
+#define KEY_VIDEO_PREV 242 /* drive previous video source */
+#define KEY_BRIGHTNESS_CYCLE 243 /* brightness up, after max is min */
+#define KEY_BRIGHTNESS_ZERO 244 /* brightness off, use ambient */
+#define KEY_DISPLAY_OFF 245 /* display device to off state */
+
#define BTN_MISC 0x100
#define BTN_0 0x100
#define BTN_1 0x101