Bladeren bron

[efi] Add missing definitions for function key scancodes

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 8 jaren geleden
bovenliggende
commit
1ae9adee42
1 gewijzigde bestanden met toevoegingen van 8 en 0 verwijderingen
  1. 8
    0
      src/interface/efi/efi_console.c

+ 8
- 0
src/interface/efi/efi_console.c Bestand weergeven

@@ -239,6 +239,14 @@ static const char *ansi_sequences[] = {
239 239
 	[SCAN_DELETE] = "[3~",
240 240
 	[SCAN_PAGE_UP] = "[5~",
241 241
 	[SCAN_PAGE_DOWN] = "[6~",
242
+	[SCAN_F5] = "[15~",
243
+	[SCAN_F6] = "[17~",
244
+	[SCAN_F7] = "[18~",
245
+	[SCAN_F8] = "[19~",
246
+	[SCAN_F9] = "[20~",
247
+	[SCAN_F10] = "[21~",
248
+	[SCAN_F11] = "[23~",
249
+	[SCAN_F12] = "[24~",
242 250
 	/* EFI translates some (but not all) incoming escape sequences
243 251
 	 * via the serial console into equivalent scancodes.  When it
244 252
 	 * doesn't recognise a sequence, it helpfully(!) translates

Laden…
Annuleren
Opslaan