From 6ab6e1d1568380f87bf0276cfac4487db553245b Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Mon, 26 Apr 2021 16:49:49 +0200 Subject: PS/2 mouse aah --- kernel/drivers/vmware.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'kernel/drivers/vmware.c') diff --git a/kernel/drivers/vmware.c b/kernel/drivers/vmware.c index 795eb79..c82042f 100644 --- a/kernel/drivers/vmware.c +++ b/kernel/drivers/vmware.c @@ -147,14 +147,7 @@ static res vmware_mouse_read(void *buf, u32 offset, u32 count) CLEAR void vmware_mouse_install(u8 device) { - // Enable auxiliary mouse device - ps2_write_device(device, 0xa8); - - // Use default settings - ps2_write_device(device, 0xf6); - - // Enable mouse - ps2_write_device(device, 0xf4); + ps2_mouse_enable(device); vmware_mouse_enable(); irq_install_handler(12, vmware_mouse_handler); -- cgit v1.2.3