acpigen_ps2_keybd: map capslock
Looks like some devices may be using the capslock key, this a standard code, just map it. BUG=b:446677367 TEST=flashed and tested on a brox board, checked that the correct code is generated with evtest Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com> Change-Id: Ieb0f55e7f25a1b34d226efe12ad9dc481a53a082 Reviewed-on: https://review.coreboot.org/c/coreboot/+/90025 Reviewed-by: Caveh Jalali <caveh@chromium.org> Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com>
This commit is contained in:
parent
a7efa40e39
commit
607740999d
1 changed files with 2 additions and 0 deletions
|
|
@ -175,6 +175,8 @@ static uint32_t rest_of_keymaps[] = {
|
|||
KEYMAP(0xc8, KEY_UP),
|
||||
/* Power Key */
|
||||
KEYMAP(0xde, KEY_POWER),
|
||||
/* Caps Lock */
|
||||
KEYMAP(0x3a, KEY_CAPSLOCK),
|
||||
};
|
||||
|
||||
static void ssdt_generate_physmap(struct acpi_dp *dp, uint8_t num_top_row_keys,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue