boot: Handle shift and logo keys too
authorJan Janssen <medhefgo@web.de>
Mon, 21 Feb 2022 12:45:06 +0000 (13:45 +0100)
committerJan Janssen <medhefgo@web.de>
Tue, 22 Feb 2022 15:34:55 +0000 (16:34 +0100)
commit3f9973bf368475d1f2f7f587e7af728dd6d84e10
treea331a12a2e68387718dc317a68fe9976a143d0f4
parent1cb5d7857b205023a0473ec13df154ae2e254066
boot: Handle shift and logo keys too

Some firmware supports sending input events for shift and logo keys.
Previously, we would suppress these with EFI_NOT_READY unless
some other key was pressed alongside, but it is really the job of the
caller to decide how to handle these.

Note that for keys that already have a printable shift representation
the reported input event will not have the shift key bits set
(Shift+a is reported as A). Should some firmware turn out to violate the
spec here we can always remove that part.
src/boot/efi/console.c
src/boot/efi/console.h
src/boot/efi/missing_efi.h