Subject: Re: On wscons, mice, and keyboards
To: None <joda@pdc.kth.se>
From: Lennart Augustsson <augustss@cs.chalmers.se>
List: current-users
Date: 07/29/1998 20:08:11
> > Just to try it out I implemented the "mouse concentrator device".
> 
> Why not do this with a userspace process, and a `loopback' character
> device? That way you can multiplex other things too.
> 
> I used to do this with a pipe when I wanted to use both a ps/2 and a
> serial mouse (before the input extension appeared). The problem with a
> pipe is that if the daemon dies, the client side gets EPIPE.
I think that could work pretty well for mice.  A little complication
in the daemon is that it has to watch for new mice being connected
(and possibly create new device node if you run out).

I think a harder to do this way are keyboards.  I'm not sure
how to persuade X to use a multiplexor for the terminal and
get it to work.  But I've not looked into the keyboard issue
much yet.

        -- Lennart