Subject: Re: wsmouse programming
To: Julio Merino <email@example.com>
From: Nathan J. Williams <nathanw@MIT.EDU>
Date: 06/13/2001 12:31:59
Julio Merino <firstname.lastname@example.org> writes:
> > Nope, it doesn't. The infrastructure is there (the WSMUX_INJECTEVENT
> > ioctl), but nobody's bothered to write the daemon that reads from the
> > serial port and injects mouse events into the wsmouse stream.
> A daemon? Should that be done in user space? And what does it have to
> do? Get serial port data and pass to the wsmouse? When I get more
> used to NetBSD and that... I would try to write this :)
Yes. Read from the serial port, interpret the mouse protocol,
construct and insert wscons_event structures.
> BTW... can I use the serial port device directly (/dev/tty00 ?) and
> interpret the microsoft mouse events?
Sure. "It's just data".