aboutsummaryrefslogtreecommitdiff
path: root/kernel/drivers/mouse.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/mouse.c')
-rw-r--r--kernel/drivers/mouse.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/drivers/mouse.c b/kernel/drivers/mouse.c
index 6f329aa..e2f7311 100644
--- a/kernel/drivers/mouse.c
+++ b/kernel/drivers/mouse.c
@@ -116,6 +116,10 @@ void mouse_install(void)
mouse_serial_wait(1);
outb(0x60, status);
+ // Use default settings
+ mouse_serial_write(0xF6);
+ mouse_serial_read();
+
// Enable mousewheel
mouse_serial_write(0xF2);
mouse_serial_read();