summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2022-02-09 16:54:39 +0100
committerMichael Brown2022-02-10 14:11:27 +0100
commitf51a62bc3f7abb40e331c16df1f4d9314aefaf23 (patch)
tree8d204bf78ea8d77946eb467c4dd9dd894c4dfb0b /src/include
parent[efi] Enable IMAGE_GZIP by default for AArch64 (diff)
downloadipxe-f51a62bc3f7abb40e331c16df1f4d9314aefaf23.tar.gz
ipxe-f51a62bc3f7abb40e331c16df1f4d9314aefaf23.tar.xz
ipxe-f51a62bc3f7abb40e331c16df1f4d9314aefaf23.zip
[console] Generalise bios_keymap() as key_remap()
Allow the keyboard remapping functionality to be exposed to consoles other than the BIOS console. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ipxe/keymap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/ipxe/keymap.h b/src/include/ipxe/keymap.h
index 0f1b0c656..62b3bb131 100644
--- a/src/include/ipxe/keymap.h
+++ b/src/include/ipxe/keymap.h
@@ -27,4 +27,6 @@ struct key_mapping {
/** Define a keyboard mapping */
#define __keymap __table_entry ( KEYMAP, 01 )
+extern unsigned int key_remap ( unsigned int character );
+
#endif /* _IPXE_KEYMAP_H */