diff options
author | Marvin Borner | 2019-09-15 18:53:25 +0200 |
---|---|---|
committer | Marvin Borner | 2019-09-15 18:53:25 +0200 |
commit | 9e802f11a673c63d3fac395f151c80d6cfc4caf4 (patch) | |
tree | e757cfd5953765043a41beb99bc4ea9aaf3a9aa2 /src/input/ps2/mouse.c | |
parent | d7acec1be838230f3188b3887977ca185e38f1a4 (diff) |
Fixed keyboard and added terminal overflow scrolling
Diffstat (limited to 'src/input/ps2/mouse.c')
-rw-r--r-- | src/input/ps2/mouse.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/input/ps2/mouse.c b/src/input/ps2/mouse.c index 191c270..8e5a3e3 100644 --- a/src/input/ps2/mouse.c +++ b/src/input/ps2/mouse.c @@ -1,7 +1,6 @@ #include "../../io/io.h" #include "../../interrupts/interrupts.h" #include "../../graphics/vga.h" -#include "../input.h" char mouse_cycle = 0; signed char mouse_byte[3], mouse_ex[3]; @@ -38,6 +37,9 @@ void mouse_handler(struct regs *a_r) { default: break; } + if (mm_n[0] == 1) { + terminal_write_string("CLICK!\n"); + } } inline void mouse_wait(char a_type) { |