Kernel: Add load_keymap syscall and load Finnish keymap in init

This commit is contained in:
2024-01-10 14:46:29 +02:00
parent 8f89519bcf
commit 51214ea1bf
8 changed files with 29 additions and 0 deletions

View File

@@ -8,6 +8,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/banan-os.h>
#include <termios.h>
void initialize_stdio()
@@ -25,6 +26,9 @@ int main()
if (signal(SIGINT, [](int) {}) == SIG_ERR)
perror("signal");
if (load_keymap("/usr/share/keymaps/fi.keymap") == -1)
perror("load_keymap");
bool first = true;
termios termios;