adds a queue library, work for keyb driver
This commit is contained in:
@ -31,6 +31,7 @@ void exception_handler(unsigned int i)
|
||||
//kinfo("Sending EOI instruction to KEYB");
|
||||
#endif
|
||||
unsigned char in = inb(0x60);
|
||||
|
||||
char to_print = decode_key_enum(decode_scancode(in));
|
||||
if (to_print != '\0')
|
||||
printf("%c", to_print);
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <kernel/x86/keyb.h>
|
||||
|
||||
|
Reference in New Issue
Block a user