diff options
| author | Miguel <m.i@gmx.at> | 2018-10-05 23:41:51 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-10-05 23:41:51 +0200 |
| commit | fe8180d88540bfa96595dcc58290de5425e534e3 (patch) | |
| tree | a7a681cdcf013119d121fb17ce3b731763a4a644 /driver | |
| parent | 4dbe6a264d7a3bd38ca1ac0921248654a50f1b5e (diff) | |
drunken proggin
Diffstat (limited to 'driver')
| -rw-r--r-- | driver/keyboard.c | 2 | ||||
| -rw-r--r-- | driver/mouse.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/driver/keyboard.c b/driver/keyboard.c index 2be9c12..87cd7d7 100644 --- a/driver/keyboard.c +++ b/driver/keyboard.c @@ -5,6 +5,7 @@ #include "e1000.h" #include "kmalloc.h" #include "interrupts.h" +#include "compositor.h" #include <stdbool.h> @@ -30,6 +31,7 @@ extern struct netdev e1000_dev; static void put(uint8_t c) { // syscall_generic(SYSCALL_WRITE,kb_stream, (char *)&c , 1, 0); + compositor_kb_handle(c); } uint32_t keyboard_interrupt(uint32_t esp) diff --git a/driver/mouse.c b/driver/mouse.c index 274c9a5..0c48a5f 100644 --- a/driver/mouse.c +++ b/driver/mouse.c @@ -155,7 +155,6 @@ void mouse_action() if(mouse_y>=1080)mouse_y=1080-1; compositor_mouse_handle(mouse_x,1080-mouse_y, mouse_byte[0]); - } void mouse_handler(uint8_t byte)//struct regs *a_r) //struct regs *a_r (not used but just there) |
