aboutsummaryrefslogtreecommitdiff
path: root/kernel/drivers/keyboard.c
diff options
context:
space:
mode:
authorMarvin Borner2021-01-09 23:31:28 +0100
committerMarvin Borner2021-01-09 23:33:34 +0100
commitff9c7766edded74f4d522484c828b1bdc7dfa96d (patch)
treefc076342222b6eb0c200a9bbb028c7765ed758b2 /kernel/drivers/keyboard.c
parent836294b9232c7d63d26db4f87c32cf1420cd856d (diff)
Let's make a procfs for IPC instead
Diffstat (limited to 'kernel/drivers/keyboard.c')
-rw-r--r--kernel/drivers/keyboard.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/drivers/keyboard.c b/kernel/drivers/keyboard.c
index ac97d36..7f3247f 100644
--- a/kernel/drivers/keyboard.c
+++ b/kernel/drivers/keyboard.c
@@ -2,7 +2,6 @@
#include <cpu.h>
#include <def.h>
-#include <event.h>
#include <interrupts.h>
#include <mem.h>
#include <print.h>
@@ -34,7 +33,7 @@ void keyboard_handler()
event->magic = KEYBOARD_MAGIC;
event->press = (scancode & 0x80) == 0;
event->scancode = event->press ? scancode : scancode & ~0x80;
- event_trigger(EVENT_KEYBOARD, event);
+ //event_trigger(EVENT_KEYBOARD, event);
state = 0;
merged = 0;