patch-2.3.99-pre3 linux/drivers/usb/mousedev.c
Next file: linux/drivers/usb/pegasus.c
Previous file: linux/drivers/usb/mdc800.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Sun Mar 19 18:29:40 2000
- Orig file:
v2.3.99-pre2/linux/drivers/usb/mousedev.c
- Orig date:
Fri Mar 10 16:40:45 2000
diff -u --recursive --new-file v2.3.99-pre2/linux/drivers/usb/mousedev.c linux/drivers/usb/mousedev.c
@@ -95,8 +95,8 @@
break;
case ABS_Y:
size = handle->dev->absmax[ABS_Y] - handle->dev->absmin[ABS_Y];
- list->dy += (value * CONFIG_MOUSEDEV_SCREEN_Y - list->oldy) / size;
- list->oldy += list->dy * size;
+ list->dy -= (value * CONFIG_MOUSEDEV_SCREEN_Y - list->oldy) / size;
+ list->oldy -= list->dy * size;
break;
}
break;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)