summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorScott Chao <scott_chao@wistron.corp-partner.google.com>2021-07-30 10:36:23 +0800
committerPatrick Georgi <pgeorgi@google.com>2021-07-31 09:15:23 +0000
commitffd80fd2b7193d1c10eba11116904863cc0ea978 (patch)
treef284e079f9ce21d8ddcdabbea215a06ccfef6538 /src/include
parent0f80767ee1f0fccd6116accda1eb53770b7ddbc1 (diff)
arch/x86/acpi: Add code for KEY_MICMUTE and KEY_KBDILLUMTOGGLE
Chromebook have some platform need support MICMUTE and KBDILLUMTOGGLE. BUG=b:194146863 BRANCH=none TEST=check on evtest type 4 (EV_MSC), code 4 (MSC_SCAN), value ab type 1 (EV_KEY), code 228 (KEY_KBDILLUMTOGGLE), 1 type 4 (EV_MSC), code 4 (MSC_SCAN), value 9b type 1 (EV_KEY), code 248 (KEY_MICMUTE), value 1 Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com> Change-Id: Ic39ecb3118e885c9e6d84d7b78bf435cb903d17e Reviewed-on: https://review.coreboot.org/c/coreboot/+/56709 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Lance Zhao
Diffstat (limited to 'src/include')
-rw-r--r--src/include/acpi/acpigen_ps2_keybd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/acpi/acpigen_ps2_keybd.h b/src/include/acpi/acpigen_ps2_keybd.h
index 858c2ce1c3..6221d87e42 100644
--- a/src/include/acpi/acpigen_ps2_keybd.h
+++ b/src/include/acpi/acpigen_ps2_keybd.h
@@ -24,6 +24,8 @@ enum ps2_action_key {
PS2_KEY_PLAY_PAUSE,
PS2_KEY_NEXT_TRACK,
PS2_KEY_PREV_TRACK,
+ PS2_KEY_KBDILLUMTOGGLE,
+ PS2_KEY_MICMUTE,
};
#define PS2_MIN_TOP_ROW_KEYS 10