SDL and Touchscreen

Hi,

I’m french programmer on embedded software under linux and I have developped a
graphic application using xlib library. But, I have some problem with that and
I decide to use SDL (font management, windows portability, and others
problems). My new program runs very well on my developpement computer (Software
versions : Redhat linux 7.2 , glibc 2.2, libsdl 1.2.7 compiled on this
computer, XFree 4.2.0) but when I put this program on the final (embedded)
computer, the input doesn’t work.
I don’t use a mouse on this, but a TouchScreen (not Elo TouchScreen, MMTouch
with proprietary driver).
I have configured my touchscreen into XFree86Config file (same as Elo
touchscreen configuration but only different driver).
without SDL (so with xlib), my program works correctly and I can use the
touchscreen for my program.
with SDL, I have only installed libSDL library on the embedded computer, and I
don’t have modified XFree86Config file but I have no input. So, I cannot use my
program.

I have not found anything about this on different sites (www.libsdl.org and
others) and I don’t understand why SDL blocks my touchscreen input (I thought
SDL was just a layer for xlib).

Anyone knows if it is possible to use SDL with any touchscreen (compatible with
X11) or not ?

Thanks.

Software version on embedded computer :

Debian linux woody 3.0 with kernel 2.4.20, glibc 2.2.
XFree 4.3.0
libsdl 1.2.7 from my dev computer.

I also use the 3M touchscreen and have no issues with it. I am using
the Fedora Core 2 and just the default driver that comes with the
package. It seems to work well just the calibration is off a bit. And
as you expect the signals are received like mouse inputs.

WaltOn Fri, 2004-11-05 at 09:02, Fred wrote:

Hi,

I’m french programmer on embedded software under linux and I have developped a
graphic application using xlib library. But, I have some problem with that and
I decide to use SDL (font management, windows portability, and others
problems). My new program runs very well on my developpement computer (Software
versions : Redhat linux 7.2 , glibc 2.2, libsdl 1.2.7 compiled on this
computer, XFree 4.2.0) but when I put this program on the final (embedded)
computer, the input doesn’t work.
I don’t use a mouse on this, but a TouchScreen (not Elo TouchScreen, MMTouch
with proprietary driver).
I have configured my touchscreen into XFree86Config file (same as Elo
touchscreen configuration but only different driver).
without SDL (so with xlib), my program works correctly and I can use the
touchscreen for my program.
with SDL, I have only installed libSDL library on the embedded computer, and I
don’t have modified XFree86Config file but I have no input. So, I cannot use my
program.

I have not found anything about this on different sites (www.libsdl.org and
others) and I don’t understand why SDL blocks my touchscreen input (I thought
SDL was just a layer for xlib).

Anyone knows if it is possible to use SDL with any touchscreen (compatible with
X11) or not ?

Thanks.

Software version on embedded computer :

Debian linux woody 3.0 with kernel 2.4.20, glibc 2.2.
XFree 4.3.0
libsdl 1.2.7 from my dev computer.


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