summaryrefslogtreecommitdiffstats
path: root/src/interface/efi
diff options
context:
space:
mode:
authorMichael Brown2016-02-12 14:08:52 +0100
committerMichael Brown2016-02-12 14:08:52 +0100
commit1ae9adee425a94a1f7aed37ecac3528c51f2db42 (patch)
tree6ee1ade57369d35e845864de3a3308b61f6a3db7 /src/interface/efi
parent[pxe] Clarify comments regarding shrinking of cached DHCP packet (diff)
downloadipxe-1ae9adee425a94a1f7aed37ecac3528c51f2db42.tar.gz
ipxe-1ae9adee425a94a1f7aed37ecac3528c51f2db42.tar.xz
ipxe-1ae9adee425a94a1f7aed37ecac3528c51f2db42.zip
[efi] Add missing definitions for function key scancodes
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/interface/efi')
-rw-r--r--src/interface/efi/efi_console.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/interface/efi/efi_console.c b/src/interface/efi/efi_console.c
index 3b30f309..047baed4 100644
--- a/src/interface/efi/efi_console.c
+++ b/src/interface/efi/efi_console.c
@@ -239,6 +239,14 @@ static const char *ansi_sequences[] = {
[SCAN_DELETE] = "[3~",
[SCAN_PAGE_UP] = "[5~",
[SCAN_PAGE_DOWN] = "[6~",
+ [SCAN_F5] = "[15~",
+ [SCAN_F6] = "[17~",
+ [SCAN_F7] = "[18~",
+ [SCAN_F8] = "[19~",
+ [SCAN_F9] = "[20~",
+ [SCAN_F10] = "[21~",
+ [SCAN_F11] = "[23~",
+ [SCAN_F12] = "[24~",
/* EFI translates some (but not all) incoming escape sequences
* via the serial console into equivalent scancodes. When it
* doesn't recognise a sequence, it helpfully(!) translates