Subject: Re: DEC mouse hacks
To: Ben Ketcham <bketcham@anvilite.murkworks.net>
From: Oscar Oberg <Oscar.Oberg@abc.se>
List: port-vax
Date: 04/02/1998 18:04:16
On Wed, 1 Apr 1998, Ben Ketcham wrote:

> This is more-or-less what I was wondering about when I said "given an
> X server that can use /dev/whatever...".  With XFree86, as I'm sure
> most people know, it looks by default for /dev/mouse.  You just make
> that a link to the serial device (/dev/tty<foo>) which your serial
> mouse is on, or you can use /dev/psaux or something for PS/2 mice,
> etc.; I don't know what is really under the hood with this, but I
> always assumed that you could probably point this at any (character)
> device you wanted, as long as it spit out raw bytes that matched
> what was expected for the given mouse protocol.  I admit that I have
> not tried to do this in real life...

The mouse type is defined in /etc/XF86Config (or similar). They're
different types of devices (/dev/psaux and /dev/tty<foo>)

Oscar