On Thu, 29 Nov 2001, Dave Morse wrote:
> My 2.4 box doesn't have /dev/event* yet.
> But it does have /dev/input/mice.  If I use
> GII_INPUT="input-linux-mouse:imps2,/dev/mice", mhub seems to report
> buttons and mouse movement correctly, even under X11 (which also uses
> /dev/mice btw).  This is with a USB wheelie mouse, haven't tried the
> ps2 yet.
> 
> Is /dev/mice one of those inputs that can be opened multiple times?

Apparently (I haven't read the code to see how they handle multiple opens).

> Is it low latency?

Should be, it is a kernel-driven file handle and comes direct from
kernel-space to the application with no intermediary user-space
task.  However, I'd use raw /dev/event events instead of the imps2 
translation.  One less layer that way.

> I had not realized prior to your post that it was possible to have
> multiple keyboards/mice hooked up to a PC as game controllers.  Neat!

Things are going to get even neater under Ruby.  Linux may have true multihead
soon such that single a PC with 2 monitors/mice/keyboards can be used by two
people at once.

--
Brian

Reply via email to