[quote]Ditto. This is something that the application would have to setup. The JInput system can tell you in relative terms where/how the mouse is moving, but it actually has no idea where it is.
You may be misunderstanding the concept of what the API does. JInput is just telling you what happened - its not changing the state of anything on the screen. If you’re using JInput, you’re not controlling the ‘Java native mouse pointer’ but instead some other pointer representation you’re drawing yourself - similar to what you would have to do with LWJGL back in 0.6, though I believe they’ve done some work for peeking/poking the native cursor. All you’re getting from JInput are offsets - what you do with those offsets, button presses, etc are up to you.
[/quote]
So, what’s supposed to happen with things like graphics tablets?
E.g. if tablet is in absolute-mode, what data will JInput provide to the app? (At the moment WACOM tablets on several platforms are only supported in absolute-mode…although there are OS projects to try and provide drivers that enable the relative mode too - I hear it’s a pretty simple change!)
Obviously, if tablet is in relative mode, then the driver is going to deliver mouse-like relative events, so no problem there…
If I get any free time soon, I’ll experiment with my WACOM tablets and let you know what actually happens :), but it could be a long time before then