patch-2.3.39 linux/drivers/usb/mousedev.c

Next file: linux/drivers/usb/ov511.c
Previous file: linux/drivers/usb/keybdev.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.38/linux/drivers/usb/mousedev.c linux/drivers/usb/mousedev.c
@@ -83,7 +83,7 @@
 				switch (code) {
 					case REL_X:	list->dx += value; break;
 					case REL_Y:	list->dy -= value; break;
-					case REL_WHEEL:	if (list->mode) list->dz += value; break;
+					case REL_WHEEL:	if (list->mode) list->dz -= value; break;
 				}
 				break;
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)