Adam Lazur on 3 Feb 2005 03:47:49 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] Re: perl and mouses (a how do you do that ?)


George Gallen (ggallen@slackinc.com) said:
> /dev/mouse on my work system is a pointer to /dev/psaux. Now to play
> with this to decode the data from the mouse, which looks straightforward.
> 
> Now what should be interesting to see is if I plug a USB mouse in,
> Will the system continue to use /dev/psaux as it's mouse, and allow
> the /dev/usb/... whatever to be used.

You could use /dev/input/mice ... you'll get clicks from all mice
attached to the system, usb or otherwise.

-- 
Adam Lazur, Cluster Monkey
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug