ACPI: video: Add keycode for ACPI video driver hotkey events.
authorYu Luming <luming.yu@intel.com>
Fri, 24 Aug 2007 03:05:55 +0000 (23:05 -0400)
committerLen Brown <len.brown@intel.com>
Fri, 24 Aug 2007 03:05:55 +0000 (23:05 -0400)
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>
include/linux/input.h

index e02c6a66b2ba74fecdb015b202933541dc3f5257..cf2b5619aa13c3abad562164a1e8be85b2653c07 100644 (file)
@@ -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