Keyboard buffer + getline

This commit is contained in:
2026-03-18 13:07:26 +01:00
parent f7735eb3a4
commit b77c53ae99
7 changed files with 125 additions and 8 deletions

View File

@@ -7,7 +7,12 @@
#ifndef PS2_H
#define PS2_H
#include <stddef.h>
void keyboard_handler(void);
char keyboard_getchar();
int keyboard_putchar(char c);
int keyboard_getline(char* output, size_t size);
#define SHIFT_PRESSED_BIT 0b00000001
#define ALT_PRESSED_BIT 0b00000010