summaryrefslogtreecommitdiff
path: root/src/acpi
diff options
context:
space:
mode:
authorBoris Mittelberg <bmbm@google.com>2022-02-10 16:30:40 -0800
committerFelix Held <felix-coreboot@felixheld.de>2022-02-18 20:18:41 +0000
commit130de14a0590cf4dac8021bbf66850a26896d932 (patch)
treeec406dcfa55801e27e1517ac9a0355cb007c8ff9 /src/acpi
parent0c3b7f5411921824a2ea0449112246368a8f743a (diff)
arch/x86/acpi: Add code for KEY_MENU
Support of MENU key (aka hamburger) for Chromebooks with Vivaldi keyboard BUG=b:215038215 TEST=manually tested on Anahera device: pressing T13 key opens menu Signed-off-by: Boris Mittelberg <bmbm@google.com> Change-Id: I07873dd9385c743a6512408688ec44a5e97219f9 Reviewed-on: https://review.coreboot.org/c/coreboot/+/61835 Reviewed-by: Rajat Jain <rajatja@google.com> Reviewed-by: Lance Zhao Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/acpi')
-rw-r--r--src/acpi/acpigen_ps2_keybd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/acpi/acpigen_ps2_keybd.c b/src/acpi/acpigen_ps2_keybd.c
index a3ea4ef284..7928dad9da 100644
--- a/src/acpi/acpigen_ps2_keybd.c
+++ b/src/acpi/acpigen_ps2_keybd.c
@@ -55,6 +55,7 @@ static const uint32_t action_keymaps[] = {
KEY_PRIVACY_SCREEN_TOGGLE),
[PS2_KEY_MICMUTE] = KEYMAP(0x9b, KEY_MICMUTE), /* e01b */
[PS2_KEY_KBD_BKLIGHT_TOGGLE] = KEYMAP(0x9e, KEY_KBDILLUMTOGGLE), /* e01e */
+ [PS2_KEY_MENU] = KEYMAP(0xdd, KEY_CONTROLPANEL), /* e0d5 */
};
/* Keymap for numeric keypad keys */