summaryrefslogtreecommitdiff
path: root/kernel/mouse.c
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2014-10-22 14:06:04 +0200
committerMichal Idziorek <m.i@gmx.at>2014-10-22 14:06:04 +0200
commit95450710a8b8290a110686d78c2357d3920bcda5 (patch)
tree4e3ef7556289bb1c18bce0c6e73235d497364a4d /kernel/mouse.c
parent17d28200533f6a02d08cee2bf5352036bea92762 (diff)
working on filesys and readdir syscall
Diffstat (limited to 'kernel/mouse.c')
-rw-r--r--kernel/mouse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/mouse.c b/kernel/mouse.c
index 84b9c84..610baa8 100644
--- a/kernel/mouse.c
+++ b/kernel/mouse.c
@@ -67,6 +67,7 @@ void mouse_log()
if(mouse_byte[0]&0x80||mouse_byte[0]&0x40)return; //skip packet on overflow
if(!(mouse_byte[0]&0x8))panic(FOOLOS_MODULE_NAME,"mouse packets out of sync!?"); // this bit is always 1, otherwise panic!
+
//
if(mouse_byte[1]>127){