There are lots of situations where you want to use the mouse
for something other than controlling the cursor on the screen.
For example, 3D object viewers often use the mouse to rotate your
viewpoint, or a game might use the mouse to steer a spaceship.
You might also check out www.lwjgl.org which, among other things,
has api for managing input devices for applications like games. It
handles this problem, but may be more than you are looking for.
Rob
I took a look at Java3D to see how they handled this, since they tie
mouse motions to the usual homogeneous matrix suspects (translate,
rotate, zoom), but they don't appear to handle it, at least not in
1.4.0.
So watch out for the force fields in Java3D games...
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden