This multiplication was deleted when replacing old psaux driver by i8042prt
Fixes bug #652
svn path=/trunk/; revision=16711
#define KEYBOARD_NUM_LOCK_ON 0x02
#define KEYBOARD_CAPS_LOCK_ON 0x04
+#define WHEEL_DELTA 120
+
/*-----------------------------------------------------
* DeviceExtension
* --------------------------------------------------*/
if (Scroll) {
MouseInput->RawButtons |= MOUSE_WHEEL;
- MouseInput->ButtonData = (USHORT) Scroll;
+ MouseInput->ButtonData = (USHORT)(Scroll * -WHEEL_DELTA);
}
if (DevExt->MouseType == IntellimouseExplorer) {