From c9e8d81464c58fcb19965e04e20d5ba21e344b09 Mon Sep 17 00:00:00 2001 From: Thomas Bluemel Date: Sun, 28 Sep 2003 01:33:51 +0000 Subject: [PATCH] disable detection of mice since bochs doesn't like it svn path=/trunk/; revision=6175 --- reactos/drivers/input/psaux/mouse.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/reactos/drivers/input/psaux/mouse.c b/reactos/drivers/input/psaux/mouse.c index 090bbfd2848..bd54679beca 100644 --- a/reactos/drivers/input/psaux/mouse.c +++ b/reactos/drivers/input/psaux/mouse.c @@ -548,14 +548,14 @@ static void psmouse_initialize(PDEVICE_EXTENSION DeviceExtension) * We also set the resolution and scaling. */ - psmouse_set_resolution(DeviceExtension); + //psmouse_set_resolution(DeviceExtension); psmouse_command(DeviceExtension, NULL, PSMOUSE_CMD_SETSCALE11); /* * We set the mouse into streaming mode. */ - psmouse_command(DeviceExtension, param, PSMOUSE_CMD_SETSTREAM); + //psmouse_command(DeviceExtension, param, PSMOUSE_CMD_SETSTREAM); /* * Last, we enable the mouse so that we get reports from it. @@ -579,9 +579,9 @@ BOOLEAN mouse_init (PDEVICE_OBJECT DeviceObject) DeviceExtension->PreviousButtons = 0; DeviceExtension->MouseType = 0; - DeviceExtension->psmouse_noext = 0; // Set this to 1 if you don't want to detect enhanced mice + DeviceExtension->psmouse_noext = 1; // Set this to 1 if you don't want to detect enhanced mice (BOCHS?) DeviceExtension->psmouse_smartscroll = PSMOUSE_LOGITECH_SMARTSCROLL; - DeviceExtension->Resolution = 400; // Set this to the resolution of the mouse + DeviceExtension->Resolution = 0; // Set this to the resolution of the mouse DeviceExtension->InputDataCount[0] = 0; DeviceExtension->InputDataCount[1] = 0;