patch-2.3.22 linux/drivers/char/adbmouse.c
Next file: linux/drivers/char/bttv.c
Previous file: linux/drivers/char/Config.in
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue Oct 12 10:00:58 1999
- Orig file:
v2.3.21/linux/drivers/char/adbmouse.c
- Orig date:
Mon Oct 11 15:38:14 1999
diff -u --recursive --new-file v2.3.21/linux/drivers/char/adbmouse.c linux/drivers/char/adbmouse.c
@@ -158,6 +158,8 @@
if (!MACH_IS_MAC)
return -ENODEV;
#endif
+ /* all buttons up */
+ memset(adb_mouse_buttons, 7, sizeof(adb_mouse_buttons));
msedev = register_busmouse(&adb_mouse);
if (msedev < 0)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)