diff options
author | Aseda Aboagye <aaboagye@google.com> | 2024-03-20 15:40:34 -0500 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-04-19 17:22:48 +0000 |
commit | fef07f2c3a6ee017b1370e2dced0e7e776f17c37 (patch) | |
tree | db84064fc78242134e4157a146cf4df15b0cd212 /src/acpi/Kconfig | |
parent | 00b40090aecff2d54b3dee2585a0919bc2573e3d (diff) |
acpigen_ps2_keybd: Add Fn key to linux,keymap
Some devices may generate scancodes for the Fn key if they have one.
If they do, we should add them to the linux,keymap binding.
BUG=b:333096023
TEST=Flash DUT that emits a scancode for the Fn key, verify that it is
mapped to KEY_FN in the Linux kernel using `evtest` when pressing the Fn
key.
Change-Id: Ie4daa64bc6b619392276d0b5f16e2d195d5bd68c
Signed-off-by: Aseda Aboagye <aaboagye@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/81895
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Shelley Chen <shchen@google.com>
Diffstat (limited to 'src/acpi/Kconfig')
-rw-r--r-- | src/acpi/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/acpi/Kconfig b/src/acpi/Kconfig index 417ff60abb..2bb56ba91d 100644 --- a/src/acpi/Kconfig +++ b/src/acpi/Kconfig @@ -14,6 +14,14 @@ config ACPI_CPU_STRING Specifies the ACPI name format string used by the acpigen function to generate the processor scope. Default is CPxx. +config ACPI_FNKEY_GEN_SCANCODE + int + default 0 + help + Specifies the scancode, if any, which is generated when the Fn key is + pressed. A value of 0 is ignored, which is the default since most + keyboards do not emit a scancode for the Fn key. + config ACPI_HAVE_PCAT_8259 def_bool y if !ACPI_NO_PCAT_8259 |