Hello,
I am experiencing strange mouse behaviour with my sdl program and tslib
with fbcon/linux on a touchscreen, I kept the mouse pointer for testing
and when the program starts the pointer is in the upper left corner,
when I press at that point afterwards the mouse pointer will follow my
finger but if I press anywhere else the pointer behaves like the pressed
point was upper-left.
In short it looks like it needs an initial press upper-left to
calibrate, is that normal or did I miss something in my code?
Strange beheiviour was because sdl was using uncalibrated mouse input.
Symlinking my /dev/input/event* to /dev/input/ts0 made tslib input work.
| Strange beheiviour was because sdl was using uncalibrated mouse input.
| Symlinking my /dev/input/event* to /dev/input/ts0 made tslib input work.
I’m sorry but I don’t understand what is happening to me… I’ve
calibrated my touchscreen with ts_calibrate utility and it works ok, but
the coordenates reported by SDL polling events and the function
SDL_GetMouseState are always near the upper left corner or moving around
the upper side of the screen…
I try to symling my /dev/input/event0 to /dev/input/ts0 ( and exporting
the right environment variables ) and this doesn’t work…
What can I do?
Thanks.