--- trunk/reactos/drivers/input/i8042prt/i8042prt.h 2005-07-24 11:48:08 UTC (rev 16710)
+++ trunk/reactos/drivers/input/i8042prt/i8042prt.h 2005-07-24 11:59:28 UTC (rev 16711)
@@ -46,6 +46,8 @@
#define KEYBOARD_NUM_LOCK_ON 0x02
#define KEYBOARD_CAPS_LOCK_ON 0x04
+#define WHEEL_DELTA 120
+
/*-----------------------------------------------------
* DeviceExtension
* --------------------------------------------------*/
--- trunk/reactos/drivers/input/i8042prt/mouse.c 2005-07-24 11:48:08 UTC (rev 16710)
+++ trunk/reactos/drivers/input/i8042prt/mouse.c 2005-07-24 11:59:28 UTC (rev 16711)
@@ -489,7 +489,7 @@
if (Scroll) {
MouseInput->RawButtons |= MOUSE_WHEEL;
- MouseInput->ButtonData = (USHORT) Scroll;
+ MouseInput->ButtonData = (USHORT)(Scroll * -WHEEL_DELTA);
}
if (DevExt->MouseType == IntellimouseExplorer) {