Tablet input

Started by vromero, September 19, 2003, 15:57:51

Previous topic - Next topic

vromero

Some time ago I asked for some kind of mouse support not based on delta to  use a touch screen on a lwjgl program. And AFAIK a tablet class where created a lot of time before the 0.7. Actually I cant find it on 0.7 or int the cvs (even in the attic). Does someone knows what happened with it?

elias

What special needs does a tablet have since you can't use deltas?

- elias

princec

The Mouse class should work perfectly well with a tablet. The deltas come sporadically of course, with very large values. That's really up to the client program to understand.

Cas :)

vromero

AFAIK the library dont give the screen X or screen Y.
So, unless you drag your finger the whole time on the screen the delta method to presume the X and the Y its nosense.
In a "Tablet" (the thing I use its a touchscreen) the mouse cursor just disappear from one position and just appears in other one, most of the times deltas are incorrect.

princec

Hm, you might be right there. I do recall saying we'd put one in at some point but we haven't got round to it yet.

Cas :)