diff options
author | Marvin Borner | 2020-08-22 15:08:57 +0200 |
---|---|---|
committer | Marvin Borner | 2020-08-22 15:08:57 +0200 |
commit | d748a6f54ce7af45afde487936d5a02cb2a91b05 (patch) | |
tree | 1ec6b0c8b3576fa15f21a305dfcad5196aac6e01 /kernel/drivers | |
parent | 00a64ff4675b4c1e22d6b4856e1f6b7c04ed96d8 (diff) |
Added event resolving
Diffstat (limited to 'kernel/drivers')
-rw-r--r-- | kernel/drivers/keyboard.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/kernel/drivers/keyboard.c b/kernel/drivers/keyboard.c index b08278d..b60e437 100644 --- a/kernel/drivers/keyboard.c +++ b/kernel/drivers/keyboard.c @@ -24,12 +24,11 @@ void keyboard_handler() } // TODO: "Merge" scancode to linux keycode? - printf("%x %x = %x\n", scancode, state ? 0xe0 : 0, merged); + /* printf("%x %x = %x\n", scancode, state ? 0xe0 : 0, merged); */ if ((scancode & 0x80) == 0) { // PRESS event_trigger(EVENT_KEYBOARD, (u32 *)scancode); - } else - print("\n"); + } state = 0; merged = 0; |