Author Topic: HP Touchpad screen orientation problems  (Read 4519 times)

Offline tagoror

  • Mc. Print
  • *
  • Posts: 22
    • View Profile
    • Tagoror
Hello,

We have a problem with the screen orientation on HP Touchpad. Our resolution game is 768x1024 but TouchPad don't handle this screen size. The native screen size is 1024x768. The solution is rotate manually the screen to work in portrait mode. How can we do this? At this moment
our game doesn't fit well the Touchpad screen ...



Our game is in 2D and the compilation was created with GLBasic 10.0.57.

Maybe GLBasic doesn't support directly the HP Touchpad.

For now the game is available for Palm Pre, Palm Pixi, HP Veer, Palm Pre2, HP Pre3.
http://www.glbasic.com/forum/index.php?topic=6088.msg57625#msg57625

Regards,

Javier

Offline Crivens

  • Prof. Inline
  • *****
  • Posts: 913
    • View Profile
Re: HP Touchpad screen orientation problems
« Reply #1 on: 2011-Oct-13 »
Upgrade GLB. Gernot has done some Touchpad specific screen orientation code in the last few days. Until about a week ago all portrait TP apps would start upside down for instance.

Cheers
Current fave quote: Cause you like musicians and I like people with boobs.

Offline tagoror

  • Mc. Print
  • *
  • Posts: 22
    • View Profile
    • Tagoror
Re: HP Touchpad screen orientation problems
« Reply #2 on: 2011-Oct-13 »
Hello,

Thank you, i'm updating now.

Regards,

Javier

Offline AlienMenace

  • Mr. Polyvector
  • ***
  • Posts: 149
    • View Profile
Re: HP Touchpad screen orientation problems
« Reply #3 on: 2011-Nov-25 »
Mine portrait app still starts upside down on the Touchpad, is there a trick to fix this?
Apps published: 3

Offline Ian Price

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 4144
  • On the shoulders of giants.
    • View Profile
    • My Apps
Re: HP Touchpad screen orientation problems
« Reply #4 on: 2011-Nov-25 »
Use
Code: GLBasic [Select]
 SETORIENTATION 3
 
That fixed it last time I used it. :)
I came. I saw. I played.

Offline AlienMenace

  • Mr. Polyvector
  • ***
  • Posts: 149
    • View Profile
Re: HP Touchpad screen orientation problems
« Reply #5 on: 2011-Nov-25 »
That did it, thanks much! :)
Apps published: 3

Offline Crivens

  • Prof. Inline
  • *****
  • Posts: 913
    • View Profile
Re: HP Touchpad screen orientation problems
« Reply #6 on: 2011-Nov-25 »
Ang on. I thought upside down portrait was fixed now? At least it was before I went on holiday. Has the latest update bust it?

Cheers
Current fave quote: Cause you like musicians and I like people with boobs.

Offline Ian Price

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 4144
  • On the shoulders of giants.
    • View Profile
    • My Apps
Re: HP Touchpad screen orientation problems
« Reply #7 on: 2011-Nov-25 »
Not tested it for a while, so don't know. Maybe AlienMenace isn't upto date?
I came. I saw. I played.

Offline Crivens

  • Prof. Inline
  • *****
  • Posts: 913
    • View Profile
Re: HP Touchpad screen orientation problems
« Reply #8 on: 2011-Nov-25 »
I definitely have my game working the right way up on my TP without using setorientation. Think was fixed a couple of weeks ago.

Cheers
Current fave quote: Cause you like musicians and I like people with boobs.

Offline AlienMenace

  • Mr. Polyvector
  • ***
  • Posts: 149
    • View Profile
Re: HP Touchpad screen orientation problems
« Reply #9 on: 2011-Nov-25 »
I am up-to-date 10.179. My app starts upside down, what can I say? The power button is on the top, right?
Apps published: 3

Offline Crivens

  • Prof. Inline
  • *****
  • Posts: 913
    • View Profile
Re: HP Touchpad screen orientation problems
« Reply #10 on: 2011-Nov-25 »
Mine starts fine with 10.179... erm....

I have found another error though which I will post separately...

Cheers
Current fave quote: Cause you like musicians and I like people with boobs.

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10695
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: HP Touchpad screen orientation problems
« Reply #11 on: 2011-Nov-25 »
I think setorientation is for landscape mode. So, how do you define "up" there?
portrait should be button at the bottom. For landscale I like the button to the right.

Offline Ian Price

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 4144
  • On the shoulders of giants.
    • View Profile
    • My Apps
Re: HP Touchpad screen orientation problems
« Reply #12 on: 2011-Nov-26 »
...portrait should be button at the bottom. For landscale I like the button to the right.
Yep, that's how I like it too.
I came. I saw. I played.

Offline ampos

  • Prof. Inline
  • *****
  • Posts: 1594
    • View Profile
    • AMpostata Website
Re: HP Touchpad screen orientation problems
« Reply #13 on: 2011-Nov-26 »
TP landscape is as you said. TouchStone and covers said so too.
check my web and/or my blog :D
http://diniplay.blogspot.com (devblog)
http://www.ampostata.org
http://ampostata.blogspot.com
I own PC-Win, MacBook 13", iPhone 3G/3GS/4G and iPAC-WinCE

Offline AlienMenace

  • Mr. Polyvector
  • ***
  • Posts: 149
    • View Profile
Re: HP Touchpad screen orientation problems
« Reply #14 on: 2011-Nov-26 »
If the top in Portrait mode is the edge with the power button and the home button is on the bottom then my app is indeed starting upside down in portrait mode.
Apps published: 3