I am having some problems with directfb video driver using tslib (I am
trying that on the openmoko device)
The problem is that directfb only generates absolute mouse positions,
and sdl seems to only monitor relative mouse positions, in
SDL_DirectFB_events.c :
case DIET_AXISMOTION:
if (evt.flags & DIEF_AXISREL)
{
if (evt.axis == DIAI_X)
posted += SDL_PrivateMouseMotion(0, 1, evt.axisrel, 0);
else if (evt.axis == DIAI_Y)
posted += SDL_PrivateMouseMotion(0, 1, 0, evt.axisrel);
}
break;
There is no code for the AXISABS case, so when I run a software using
SDL the mouse just doesn’t move at all.
Now it seems, by looking at the code that in SDL 1.3 the problem has been fixed.
Any plan to port the fix to SDL 1.2 as well ?