PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Orientation?

I am using PocketFrog 0.8.0 and I am developing against XP and an iPaq 2210. Whenever I try any orientation other than ORIENTATION_NORMAL I get the same coordinate system as ORIENTATION_NORMAL on the iPaq. The desktop changes just fine. Is there an issue or something I could be doing wrong?
No one else has this issue?
There is a problem with the MediaQ driver in non-normal orientation in PocketHAL 0.7.4. Could you update your PF with the latest PocketHAL (0.7.5) and see if the problem goes away?
Will do. Thank you!!
I upgraded to using PF 0.8.1 and PH 0.7.5 and now I have the same symptoms, but as an added bonus, some of the sample projects like shader just lock up my device while others like supersample work just fine.

Any other ideas?
Does anyone else have these issues with hp ipaq 22xx series? Does anyone with an hp ipaq 22xx NOT have these issues?
I will double check all this tonight to make sure it works here. I happen to have an iPAQ 2210.
Awesome. Thank you Thierry. I have been wracking my brain here trying to figure out why it won't work.
Everything seems to be running properly here. I intend on releasing PF 0.8.2 this weekend. Don't expect any new features, but it will definitely be more stable.
Hmm, weird. I will try a hard reset this weekend and see if that fixes things then. :? Thanks for taking the time to check on your pocketpc.
Maybe I have my environment set up wrong or something. Would you mind posting a simple exe that shows something blitted in ORIENTATION_ROTATE90CW? I want to see if it is my device or my environment.

Also if you could compile the Rotate sample project and post that as well that would rock.
I finally tried running programs compiled in EVC3 and it works fine with all of my devices. I still can't get EVC4 to work though. Can you get EVC4 to compile runnable rotated apps?

It would suck to have to develop against my old devices when I have my 22xx sitting right here.
I think I have to re-compile pfrog with evc4 when I switch from evc3... I don't remember what problems I had though.
I have compiled PF under evc3 for all but armv4 for armv4 I compiled under evc4. I only have the problem when I compile an app for armv4. Compiling for arm from evc3 works fine.


Tonight I will try compiling for regular arm from evc4, i haven't tried that.
Any news about this? I am experiencing the same problem with an HP ipaq 1940. If i compile e.g. the blit demo with evc3 it runs fine, if i do it with evc4 it compiles ok but input from the stylus is messed up (x and y coordinates are inverted, and on top of that i think x is also flipped).
This happens whenever orientation is not ORIENTATION_NORMAL.
I'm using pocketHAL 0.7.5 and pocketFrog 0.8.1
Hadoken wrote:Any news about this? I am experiencing the same problem with an HP ipaq 1940. If i compile e.g. the blit demo with evc3 it runs fine, if i do it with evc4 it compiles ok but input from the stylus is messed up (x and y coordinates are inverted, and on top of that i think x is also flipped).
This happens whenever orientation is not ORIENTATION_NORMAL.
I'm using pocketHAL 0.7.5 and pocketFrog 0.8.1


I have the same problem on my ipaq hx4700. I compiled blit demo with evc4 with last pocketfrog (0.8.1)
There is a solution for this problem?

Thanks
Well, check up game.cpp in line 406:

-----------------------
#if defined(FROG_PPC)
DeviceToLogical( P );
#endif
-----------------------

DeviceToLogical() function checks orientation and corrects x and y coordinates. Thanks to
#if defined(FROG_PPC)
it wouldn't work anyway. Simpliest solution is to delete or to quote that if. Still, that would couse coordinates swaping even in XP, and that is not good/ So better try this:

-----------------------
#if defined(_WIN32_WCE)
DeviceToLogical( P );
#endif
-----------------------

ps. русский пост :lol: