summaryrefslogtreecommitdiff
path: root/driver/keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver/keyboard.c')
-rw-r--r--driver/keyboard.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/driver/keyboard.c b/driver/keyboard.c
index f188cfc..d276f51 100644
--- a/driver/keyboard.c
+++ b/driver/keyboard.c
@@ -1,10 +1,7 @@
-/// idiots keyboard driver ////
-// http://www.computer-engineering.org/ps2keyboard/scancodes1.html
-
-
#include "asm_x86.h"
#include "keyboard.h"
#include "syscalls.h"
+#include "log.h"
#include <stdbool.h>
@@ -17,6 +14,7 @@ static uint32_t kb_stream;
static void put(uint8_t c)
{
+ klog("%c",c);
syscall_write(kb_stream,(char *)&c,1);
}