All Forums
 Microsoft Windows CE
 CE Drivers
 Display rotation
 Forum Locked  Topic Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

KnowledgeBase

296 Posts

Posted - 26 Feb 2002 :  13:51:09  Show Profile  Email Poster
Q: Is it possible to run my flat panel display in portrait mode instead of landscape?

Yes. Change the following registry key in your ADSLOAD.REG file:

  [HKEY_LOCAL_MACHINE\Drivers\Display]       ; StrongARM
[HKEY_LOCAL_MACHINE\Drivers\Display\Intel] ; XScale
"Rotate"=dword:00 ; software rotation of panel--allows portrait mode
; [00=0 degrees] 5A=90 deg, B4=180, 10E=270


If you have an ADSLOAD.REG file that you extracted from your system, make sure to delete the calibration settings so that your touch panel recalibrates to the new orientation the next time you boot.

Note that display performance may be slower, since the CE display driver must remap data to simulate portrait mode (the StrongARM and XScale display controllers don't support hardware translation to portrait mode).

If display performance is an issue, select a panel for your production system that draws in portrait mode instead of landscape. You might also consider using an ADS product with an external display controller.


For further reading about displays on Eurotech products, see the display topic index.


Edited by akidder 8-Jul-2003: Add link to display topic index.
Edited by akidder 19-Dec-2003: Add registry key for XScale; clarify change from StrongARM.

dbrisbois

27 Posts

Posted - 29 Apr 2002 :  17:27:30  Show Profile  Email Poster
Is it possible to dynamically switch display modes (ie portrait to landscape) from a running application or can this only be done at boot time?
Go to Top of Page

akidder

1519 Posts

Posted - 30 Apr 2002 :  10:05:27  Show Profile  Email Poster
Good question, David. The display orientation is set when the system boots. You would have to change the registry entry then restart the system.

While you could change the panel orientation in the ADSLOAD.REG file, I would recommend instead that you delete the registry entry in ADSLOAD.REG and change the registry key only in RAM, restarting the system after the change. When you power-cycle or hard-reset your system, it would return to the default setting of landscape display.

-----------------------
Drew Kidder
ADS Technology Transfer
Go to Top of Page

alkey3

6 Posts

Posted - 29 May 2002 :  14:29:32  Show Profile  Email Poster
I have noted that using the display rotation field in the registry to rotate the display 180 degrees (inverted display) causes the mouse pointer (cursor) to disappear.

[HKEY_LOCAL_MACHINE\Drivers\Display]
"Rotate"=dword:B4 ; software rotation of panel--allows portrait mode
; [00=0 degrees] 5A=90 deg, B4=180, 10E=270


I have verifed that the mouse pointer field is still turned on in the adsload.hwt file:
0xC0000F44 0x00000001 ; Mouse pointer: [00=disable] 01=enable

Has this been noted by anyone else?

Is there a way to turn the mouse pointer back on?


Al...><>
Go to Top of Page

akidder

1519 Posts

Posted - 29 May 2002 :  16:58:03  Show Profile  Email Poster
Thanks for your post, Al. The display driver doesn't support a mouse cursor when the display is rotated.

Since you don't need to convert from landscape to portrait, have you considered physically or electrically rotating the display? The NEC NL6448 display you're using has a signal(DPS) that rotates the display 180 degrees in hardware. This might be the best bet for your application.
Go to Top of Page

jjoseph

47 Posts

Posted - 29 Jan 2008 :  17:30:05  Show Profile
Q: When I rotate the display on a BitsyXb with a splash screen defined the bootloader image is not rotated but the desktop is. How do I get my bitmap to look the same in the bootloader and the desktop?

This can be accomplished on the BitsyXb by creating two bitmap files. One pre-rotated for the bootloader (adsload.bmp), and the other not rotated to allow Windows CE to do the rotation. Place the following keys in the adsload.reg and the desktop bitmap Unrotated.bmp in the FlashFx Disk folder. The adsload.bmp file should be loaded onto onboard flash as normal.

Keys for making a different bitmap for the desktop than for the bootloader:

 
[HKEY_CURRENT_USER\ControlPanel\Desktop]
"wallpaper"="\FlashFx Disk\Unrotated.bmp"

[HKEY_LOCAL_MACHINE\Platform\CustomerBmpProvided]
"DummyKey"="DummyValue"

Go to Top of Page
  Topic  
 Forum Locked  Topic Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.03 seconds. Snitz Forums 2000