Qtopia port fixes/improvments

Hello everybody,

Here is a small patch that fix/improve a few things in the Qtopia
backend. It has been heavily tested already as I included it in my SDL
packages, so I think it’d be safe to integrate it to the CVS:

-Whenever the screen is rotated, the pad is rotated as well,
-Fixed a mouse bug: when tapping on the screen, the click event was
often sent at the previous position of the stylus (resulting in strange
behavior in Scummvm for instance)
-Added the SDL_QT_INVERT_ROTATION environment variable which, when set,
rotates the screen (and the mouse, and the pad) the other way. This can
be useful for left-handed people.

Also, I had a report from someone who is having problems using SDL with
the Japanese model of the Zaurus (the A300, I think). The screen won’t
rotate at all, and any attempt to fix that has been useless. Does anyone
here have access to a A300 and can confirm this problem, or make
suggestions?

Thanks,
Alex.–
http://www.gnurou.org

-------------- next part --------------
A non-text attachment was scrubbed…
Name: zaurus.patch
Type: application/octet-stream
Size: 7919 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20020831/ca26c123/attachment.obj

Hello everybody,

Here is a small patch that fix/improve a few things in the Qtopia
backend. It has been heavily tested already as I included it in my SDL
packages, so I think it’d be safe to integrate it to the CVS:

Thanks! Your patch is now in CVS.

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

Has anyone (David?) ported SDL_image to Qtopia?
I’d like to stop using BMPs and switch to PNG/JPG whenever possible,
to reduce the size of my games for the Zaurus.

Thx!

-bill!On Sat, Aug 31, 2002 at 05:39:20PM -0700, Sam Lantinga wrote:

Hello everybody,

Alexandre Courbot writes:

Also, I had a report from someone who is having problems using SDL with
the Japanese model of the Zaurus (the A300, I think). The screen won’t
rotate at all, and any attempt to fix that has been useless. Does anyone
here have access to a A300 and can confirm this problem, or make
suggestions?

I believe the A300 uses rotation 1. SDL doesn’t handle this. I was
about to write a patch for this any day now. And yes, I do have an
A300 so I can test it too.

Also I will add keyboard grabbing since it seems, from my own testing,
that I now have a working workaround for ungrabbing.–
[ Below is a random fortune, which is unrelated to the above message. ]
“You can’t survive by sucking the juice from a wet mitten.”
– Charles Schulz, “Things I’ve Had to Learn Over and
Over and Over”