Subject: Re: ps/2 mouse and XFree86
To: Jason Thorpe <thorpej@nas.nasa.gov>
From: Michael Graff <explorer@flame.org>
List: port-i386
Date: 10/15/1996 12:32:59
Jason Thorpe <thorpej@nas.nasa.gov> writes:
> Use "busmouse" in the X server config file?
Yep.
I wrote a little program to "listen" to the mouse. Here is the output.
Here is the mouse movement:
87 18 ff 00 00 | 20 00 00
87 18 ff 00 00 | 20 00 00
87 18 ff 00 00 | 20 00 00
87 18 ff 00 00 | 20 00 00
87 18 ff 00 00 | 20 00 00
87 08 01 00 00 | 20 00 00
87 08 00 00 00 | 20 00 00
83 08 00 00 00 | 20 00 00
83 08 00 00 00 | 20 00 00
83 28 00 00 00 | 20 00 00
87 ff fe 00 00 | 20 00 00
87 ff fd 00 00 | 20 00 00
87 ff fd 00 00 | 20 00 00
And here are pressing and releasing of button 1, then 2:
83 00 00 00 00 | 20 00 00
87 00 00 00 00 | 20 00 00
86 00 00 00 00 | 20 00 00
87 00 00 00 00 | 20 00 00
The first 5 bytes are read from the /dev/pms0 device, the remaining
three are the contents of the mouseinfo structure after performing an
ioctl to fetch it.
Something seems amiss here.
--Michael