From: David Michael Krum <dkrum@cc.gatech.edu>
Date: October 3, 2003 2:46:13 PM EDT
To: Hubert Hoffmann <hoffmann@inf.utfsm.cl>
Cc: 3D UI <3d-ui@hitl.washington.edu>
Subject: Re: Two Pointer Input for 3D Interaction

I don't know if this would answer your question, but...

I had a setup once on linux that had two mice for navigating through a 3D
environment. Another student wrote me a python script that opened up the
device files for the mice and interpreted the protocol. It wasn't too
hard to reverse engineer the protocol by clicking on the buttons and
moving the mouse around.

I' attaching the script. It didn't work on every linux distro I tried
though. It seemed to work if the distro adds mouse entries under
/dev/input/mouse* when you plug in new USB mice. This particular script
sends the data in UDP packets to another machine.

Perhaps a similar setup would work under Windows. I did see a demo of
an image editor application that used Java libraries that enabled two
mouse cursors.

Also, it is said that there is a way to get two mice controlling two
cursors under XFree86. However, I could never find good directions on how
to set that up.

- David Michael Krum Virtual Worlds Lab http://www.cc.gatech.edu/~dkrum -
- Ph.D. Student Georgia Tech dkrum@cc.gatech.edu -


On Wed, 1 Oct 2003, Hubert Hoffmann wrote:

I am working in 3D interaction and I want to connect two normal mice to
a normal Linux or Windows PC. At this moment I am working with
OpenGL/GLUT with GLUI or PUI.

Where can I find information on how to control the two cursors on the
screen ?

Hubert
--
-=Dr. Hubert Hoffmann=-
Departamento de Informatica
Universidad Tecnica Federico Santa Maria
Valparaiso - Chile