mirror of https://github.com/ipxe/ipxe.git
[console] Add keyboard map selection
The active keyboard map may be selected by editing KEYBOARD_MAP in config/console.h. Signed-off-by: Michael Brown <mcb30@ipxe.org>pull/1/head
parent
1febd879e3
commit
ddad96cd23
|
@ -281,3 +281,10 @@ REQUIRE_OBJECT ( tap );
|
||||||
REQUIRE_OBJECT ( efi_bofm );
|
REQUIRE_OBJECT ( efi_bofm );
|
||||||
#endif /* BOFM_EFI */
|
#endif /* BOFM_EFI */
|
||||||
#endif /* CONFIG_BOFM */
|
#endif /* CONFIG_BOFM */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Drag in selected keyboard map
|
||||||
|
*/
|
||||||
|
#define REQUIRE_KEYMAP_OBJECT( _map ) REQUIRE_OBJECT ( keymap_ ## _map )
|
||||||
|
#define REQUIRE_KEYMAP( _map ) REQUIRE_KEYMAP_OBJECT ( _map )
|
||||||
|
REQUIRE_KEYMAP ( KEYBOARD_MAP );
|
||||||
|
|
|
@ -21,6 +21,8 @@ FILE_LICENCE ( GPL2_OR_LATER );
|
||||||
//#define CONSOLE_PC_KBD /* Direct access to PC keyboard */
|
//#define CONSOLE_PC_KBD /* Direct access to PC keyboard */
|
||||||
//#define CONSOLE_SYSLOG /* Syslog console */
|
//#define CONSOLE_SYSLOG /* Syslog console */
|
||||||
|
|
||||||
|
#define KEYBOARD_MAP us
|
||||||
|
|
||||||
#include <config/local/console.h>
|
#include <config/local/console.h>
|
||||||
|
|
||||||
#endif /* CONFIG_CONSOLE_H */
|
#endif /* CONFIG_CONSOLE_H */
|
||||||
|
|
Loading…
Reference in New Issue