feat: add keyboard layout support
This commit is contained in:
@@ -96,6 +96,10 @@ extern "C" void _start() {
|
||||
while (montauk::is_key_available()) {
|
||||
montauk::abi::KeyEvent key;
|
||||
montauk::getkey(&key);
|
||||
// Deliberately untranslated: the login screen is US-English only
|
||||
// until it grows its own layout switcher. There is no user yet, so
|
||||
// there is no per-user layout to apply, and silently picking one
|
||||
// would leave no way to type a password in a different layout.
|
||||
handle_key(ls, key);
|
||||
key_changed = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user