Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a7ecd1ea authored by Yu Luming's avatar Yu Luming Committed by Len Brown
Browse files

ACPI: video: Add keycode for ACPI video driver hotkey events.



Signed-off-by: default avatarLuming Yu <luming.yu@intel.com>
Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent b377fd39
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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