LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: vromero on September 19, 2003, 15:57:51

Title: Tablet input
Post by: vromero on September 19, 2003, 15:57:51
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?
Title: Tablet input
Post by: elias on September 19, 2003, 16:10:34
What special needs does a tablet have since you can't use deltas?

- elias
Title: Tablet input
Post by: princec on September 19, 2003, 16:48:45
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 :)
Title: Tablet input
Post by: vromero on September 20, 2003, 23:23:06
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.
Title: Tablet input
Post by: princec on September 21, 2003, 00:49:54
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 :)