Touchscreen 'mouse' goes crazy

Hello,

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 ?

Thank you very much,

_Ico–
:wq
^X^Cy^K^X^C^C^C^C

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.-----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 16:43
Para: sdl at libsdl.org
Asunto: [SDL] Touchscreen ‘mouse’ goes crazy

Hello,

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 ?

Thank you very much,

_Ico


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


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