Commit ab9bb11c authored by Alex Hung's avatar Alex Hung Committed by Darren Hart

dell-wmi: Add a WMI event code for display on/off

Some new Dell AIO systems have a button that generates a WMI event to
turn the LCD on/off.
Signed-off-by: default avatarAlex Hung <alex.hung@canonical.com>
Acked-by: default avatarPali Rohár <pali.rohar@gmail.com>
Signed-off-by: default avatarDarren Hart <dvhart@linux.intel.com>
parent e075b3c8
...@@ -133,6 +133,9 @@ static const struct key_entry dell_wmi_keymap_type_0000[] __initconst = { ...@@ -133,6 +133,9 @@ static const struct key_entry dell_wmi_keymap_type_0000[] __initconst = {
/* Audio panel key */ /* Audio panel key */
{ KE_IGNORE, 0xe026, { KEY_RESERVED } }, { KE_IGNORE, 0xe026, { KEY_RESERVED } },
/* LCD Display On/Off Control key */
{ KE_KEY, 0xe027, { KEY_DISPLAYTOGGLE } },
/* Untested, Multimedia key on Dell Vostro 3560 */ /* Untested, Multimedia key on Dell Vostro 3560 */
/* { KE_IGNORE, 0xe028, { KEY_RESERVED } }, */ /* { KE_IGNORE, 0xe028, { KEY_RESERVED } }, */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment