the at_keyboard module of GRUB takes control of the keyboard controller from firmware while the firmware is still running, it should come with a 'There be dragons' disclaimer.
additionally at_keybaord doesn't work if you are using a USB keyboard and the firmware doesnt provide SMM based PS/2 emulation which is about 100% likely on mondern UEFI
the at_keyboard module of GRUB takes control of the keyboard controller from firmware while the firmware is still running, it should come with a 'There be dragons' disclaimer.
additionally at_keybaord doesn't work if you are using a USB keyboard and the firmware doesnt provide SMM based PS/2 emulation which is about 100% likely on mondern UEFI