SDL for iPAQ (touchscreen events)

Hi,

A guy in the Familiar mailing list told me that John Hall is making a
port of libsdl for the iPAQ…
Does anyone know where can I get the sources for the lib for iPAQ?
Are there any modifications for the h3600 touchscreen module?

Also, does anyone know if I can filter some mouse/keyboard/TS events
directly trough the SDL lib?

Thanks in advance…

Regards,
Alexander Popov

Hi,
A guy in the Familiar mailing list told me that John Hall is making a
port of libsdl for the iPAQ…
Does anyone know where can I get the sources for the lib for iPAQ?
Are there any modifications for the h3600 touchscreen module?

For the sake of clarity, it’s not really a port. SDL already compiled on
the iPAQ, and the X11 backend mostly worked. My work is mainly to clean
it up the framebuffer video and input code, and to update the autoconf
script appropriately.

So far I have added support for the digitizer (as a mouse device), fixed
a few bugs, done a bit of testing, and added configure flags. Button
support is coming next. The ramebuffer backend really needs a rewrite
for the iPAQ (some traditional tricks such as setting up page flipping
cause serious problems for the simpleminded iPAQ fb driver), but after a
few safety checks and ifdef’s, most examples work fine (and are
relatively fast).

Also, does anyone know if I can filter some mouse/keyboard/TS events
directly trough the SDL lib?

Yes. Touchscreen support is complete, and I intend to implement button
support as a joystick driver.

I’ll release a patch against CVS in a few days.

-JohnOn Wednesday, January 9, 2002, at 09:50 AM, Alexander Popov wrote:

Thanks John,

Where can I access your sources?
We have some problems with the touchscreen events here (on the iPAQ) and
I was wondering how are they handled in your code…
We’ve implemented our own fix (a kind of pseudo-gpm that translates the
ts events to the “MS mouse” protocol events ) but we need some form of
filtering 'cause there’s a lot of junk (I’m not sure if its a bug or a
feature) coming up from /dev/touchscreen/0…

I’d be really glad to throw an eye on your code…

John Hall wrote:> On Wednesday, January 9, 2002, at 09:50 AM, Alexander Popov wrote:

Hi,
A guy in the Familiar mailing list told me that John Hall is making a
port of libsdl for the iPAQ…
Does anyone know where can I get the sources for the lib for iPAQ?
Are there any modifications for the h3600 touchscreen module?

For the sake of clarity, it’s not really a port. SDL already compiled
on the iPAQ, and the X11 backend mostly worked. My work is mainly to
clean it up the framebuffer video and input code, and to update the
autoconf script appropriately.

So far I have added support for the digitizer (as a mouse device),
fixed a few bugs, done a bit of testing, and added configure flags.
Button support is coming next. The ramebuffer backend really needs a
rewrite for the iPAQ (some traditional tricks such as setting up page
flipping cause serious problems for the simpleminded iPAQ fb driver),
but after a few safety checks and ifdef’s, most examples work fine
(and are relatively fast).

Also, does anyone know if I can filter some mouse/keyboard/TS events
directly trough the SDL lib?

Yes. Touchscreen support is complete, and I intend to implement button
support as a joystick driver.

I’ll release a patch against CVS in a few days.

-John


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