[ico: Re: Touchscreen 'mouse' goes crazy]

same happens to me. I’ve tried hardware surfaces too, and it only
happens when using directx driver. I must fall back to windib driver to get
it working properly. Tested on a Windows XP SP 2, latest directx and a
touchscreen, of course.

Ah, I didn’t know there are multiple video drivers available on the windows
platform, I will try this first thing in the morning. Should I expect a
performance decrease using windib instead of directx ?

I also found a workaround for the issue : decreasing the acceleration of the
video driver to ‘disable directdraw acceleration’ also fixes the problem.
I’m not sure what exactly this implies, but for now it helps me.

Thanks,> > I’m having problems with SDL applications in fullscreen mode with various

touchscreen drivers running Windows XP and 2000. My application can switch
from windowed to fullscreen mode on-the-fly; windowed mode is OK, but when
running fullscreen, the touchscreen seems to loose the correlation between
’real-life’ and ‘display’ coordinates, so the cursor is never where my
finger is. Instead, it’s jumping over the screen in big steps or hanging
stuck in a corner.

I’ve tried two machines with touchscreens, different drivers and different
hardware, but the problem exists on both.

I’m using a software surface, the screen is initialized with

    SDL_SetVideoMode(800, 600, 0, SDL_FULLSCREEN | SDL_SWSURFACE);

Any solutions or idea’s where to look for the cause of this problem ?


:wq
^X^Cy^K^X^C^C^C^C

To select the windib driver (native windows driver for drawing)
create an environment variable called SDL_VIDEODRIVER and set the value
"windib" (without quotes). This driver works fine for me, but AFAIK
everything is done by software, so no acceleration is done. Nonetheless,
it’s faster than directx!

I don't know about the internals of directx, but can anyone explain

the settings that should be set (doublebuffering, hardware surfaces…) to
make directx faster? Using doublebuffer and hardware surfaces (with full
screen) makes directx slower than windib.

ALBERT-----Mensaje original-----

De: sdl-bounces+afmarsal=cirsa.com at libsdl.org
[mailto:sdl-bounces+afmarsal=cirsa.com at libsdl.org] En nombre de sdl at zevv.nl
Enviado el: lunes, 24 de octubre de 2005 19:03
Para: sdl at libsdl.org
Asunto: [ico: Re: [SDL] Touchscreen ‘mouse’ goes crazy]

same happens to me. I’ve tried hardware surfaces too, and it only
happens when using directx driver. I must fall back to windib driver to
get
it working properly. Tested on a Windows XP SP 2, latest directx and a
touchscreen, of course.

Ah, I didn’t know there are multiple video drivers available on the windows
platform, I will try this first thing in the morning. Should I expect a
performance decrease using windib instead of directx ?

I also found a workaround for the issue : decreasing the acceleration of the
video driver to ‘disable directdraw acceleration’ also fixes the problem.
I’m not sure what exactly this implies, but for now it helps me.

Thanks,

I’m having problems with SDL applications in fullscreen mode with
various

touchscreen drivers running Windows XP and 2000. My application can
switch

from windowed to fullscreen mode on-the-fly; windowed mode is OK, but
when

running fullscreen, the touchscreen seems to loose the correlation
between

‘real-life’ and ‘display’ coordinates, so the cursor is never where my
finger is. Instead, it’s jumping over the screen in big steps or hanging
stuck in a corner.

I’ve tried two machines with touchscreens, different drivers and
different

hardware, but the problem exists on both.

I’m using a software surface, the screen is initialized with

    SDL_SetVideoMode(800, 600, 0, SDL_FULLSCREEN | SDL_SWSURFACE);

Any solutions or idea’s where to look for the cause of this problem ?


:wq
^X^Cy^K^X^C^C^C^C


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl