How to usa a touchscreen as mouse

Hi All, I have written the driver for my et057003dh6 touchscreen and from
kernel it works,
If I use the evdev interface I’m able to read coordinates from userspace.
How can I tell SDL to use my tochscreen as mouse?
Where can I study this issue?

Thanks a lot–
Fabio Giovagnini

Aurion s.r.l.
P.I e C.F.
00885711200
Tel. +39.051.594.78.24
Cell. +39.335.83.50.919

Fabio Giovagnini wrote:

Hi All, I have written the driver for my et057003dh6 touchscreen and from
kernel it works,
If I use the evdev interface I’m able to read coordinates from userspace.
How can I tell SDL to use my tochscreen as mouse?
Where can I study this issue?
Just my .2 cents: Ages ago I was using tslib inside SDL (I don’t
remember if a patch is needed, but it worked for me.)

Regards–
,
(o o)
======oOO==(_)==OOo======

Gianluca Renzi
R&D
phone: +39.0542.609120
fax: +39.0542.609212

   .oooO  Oooo.

======( )==( )=======
\ ( ) /
_) (_/

Does tslib has the support for event subsystem just builtin?

Thanks a alot

In data gioved? 25 marzo 2010 17:35:42, gianluca ha scritto:
: > Fabio Giovagnini wrote:> > Hi All, I have written the driver for my et057003dh6 touchscreen and from

kernel it works,
If I use the evdev interface I’m able to read coordinates from userspace.
How can I tell SDL to use my tochscreen as mouse?
Where can I study this issue?

Just my .2 cents: Ages ago I was using tslib inside SDL (I don’t
remember if a patch is needed, but it worked for me.)

Regards


Fabio Giovagnini

Aurion s.r.l.
P.I e C.F.
00885711200
Tel. +39.051.594.78.24
Cell. +39.335.83.50.919

Hi,

Fabio Giovagnini wrote:

Does tslib has the support for event subsystem just builtin?
Yes>
Thanks a alot

In data gioved? 25 marzo 2010 17:35:42, gianluca ha scritto:
: > Fabio Giovagnini wrote:

Hi All, I have written the driver for my et057003dh6 touchscreen and from
kernel it works,
If I use the evdev interface I’m able to read coordinates from userspace.
How can I tell SDL to use my tochscreen as mouse?
Where can I study this issue?
Just my .2 cents: Ages ago I was using tslib inside SDL (I don’t
remember if a patch is needed, but it worked for me.)

Regards