I don’t profess to know anything about this, but to me it sounds like
your tablet, which is configured to run (I assume) at a higher
resolution than 640*480 – therefor stretching the movements out on
screen more pixels – is not re-configuring the movement to run at the
smaller resolution. I hope this makes sense.
What I’m getting at is a problem involving relative distances. The pen
moves 1 cm on the tablet, and to transpose that to screen coords, the
drivers move your mouse cursor so many pixels to make the movement seem
equivalent. When you switch resolutions, however, the "equivalent"
movemnt on screen SHOULD be much lower, but it’s not making the shift.
Thus it looks to move much farther.
The other thing I cam think of is that something with the pad is
doubling the mouse inputs, so that instead of moving 50 units, it gets
twice the input in the same amount of time, thinking you moved 100.
Again, I know nothing really about how the SDL code works, nor how the
drivers translate movement to screen coordinates; just some thoughts on
the matter.
–Scott
Skygod wrote:> It’s been brought to my attention that my previous post was unclear.
I’m attempting to use a wacom tablet as a mouse.
In the test program graywin.c, the mouse functions normally in both
windowed and fullscreen modes. The tablet functions normally in
windowed mode, but in full screen mode exhibits some very unusual
behavior.
In full screen mode (640x480), cursor response to tablet movement is
extremely sensitive. Movement of a few millimeters on the tablet is
sufficient to move the cursor across the entire screen. Additionally,
the cursor only appears in specific positions on the screen, roughly
the points of a 100 pixel grid. It seems that movement of one unit on
the tablet elicits a change in posiition on the order of 100 pixels.
Any suggestions as to cause or further tests would be very helpful.
Thanks,
Theo Rhodes.