PDA

View Full Version : Screen rotation on Tornado WM6??


kartam
19th July 2007, 12:05 PM
The question was: Is the screen rotation possible on Tornado devices (for example for better Internet browsing).
Many efforts were done to gain this possibility. We have not fully received what we need, but we're on good way. We know now that the standard Tornado DDI.DLL driver is uncapable of screen rotation, so we (partially) replaced it with one taken from HTC Vox ROM. There is one serious disadvantage we're still working about: the joystick doesn't follow orientation for now, so using the phone in landscape mode is seriously difficult. We will be trying to adopt the Vox's keybddr.dll into Tornados.
I have collected all these things in an application, that you can install to skip manual registry editing.
Here is the application:
http://www.mediadrain.com/TDM_1.0.0.cab
You MUST install the following certificates! If not, a hard reset will be required!
http://www.mediadrain.com/WMtequan.cab
To rotate the screen select Change Driver option from the Display Driver option, and change to a VOX one.

qtek_metanol
19th July 2007, 12:11 PM
i don't think it will be supported on this alpha version...!!!

kartam
19th July 2007, 12:18 PM
i don't think it will be supported on this alpha version...!!!

this isn't connected
OS either supports screen rotation or not

jm012a9749
19th July 2007, 12:40 PM
WM6 supports screen rotation, like on the vox, so surely we could do the same for tornado but add some start menu shortcuts or a home screen plugin to make it rotate?

Phil

kartam
19th July 2007, 12:53 PM
i tried writing an app in .net compact framework. While it worked and rotated a PPC WM5, it didn't work in my SP WM6.

maybe .net is hard-coded and disallows screen rotation on smartphone, what doesn't mean it's impossible

qtek_metanol
19th July 2007, 12:56 PM
WM6 supports screen rotation, like on the vox, so surely we could do the same for tornado but add some start menu shortcuts or a home screen plugin to make it rotate

may you need the dll file from VOX which enable the screen rotation by opening the keyboard

qtek_metanol
19th July 2007, 12:57 PM
i think we should write a list with Q&A, and other with Bugs, Do have somebody a list with a resume of troubles...??

giuseppebitonti
19th July 2007, 01:13 PM
i build a .NET project that allow to rotate the screen, but for me it works ONLY on emulator SDK only in both WM5 and WM6 why? i post the exe and the source.. give me some answer.. :o


#include <windows.h>
#include <stdafx.h>

int
WINAPI
WinMain(
HINSTANCE,
HINSTANCE,
#ifdef UNDER_CE
LPWSTR,
#else
LPSTR,
#endif
int
)
{
DEVMODE DevMode;

int RotationAngles;
int CurrentAngle;
int NewAngle;

//
// Check for rotation support by getting the rotation angles supported.
//

memset (&DevMode, 0, sizeof (DevMode));
DevMode.dmSize = sizeof (DevMode);
DevMode.dmFields = DM_DISPLAYQUERYORIENTATION;

if (DISP_CHANGE_SUCCESSFUL == ChangeDisplaySettingsEx(NULL, &DevMode, NULL, CDS_TEST, NULL))
{
RotationAngles = DevMode.dmDisplayOrientation;
RETAILMSG(1, (L"ChangeDisplaySettingsEx supports these rotation angles %d", RotationAngles));
}
else
{
RETAILMSG(1, (L"ChangeDisplaySettingsEx failed to get the supported rotation angles."));
RotationAngles = -1;
}

//
// Get the current rotation angle.
//

memset(&DevMode, 0, sizeof (DevMode));
DevMode.dmSize = sizeof (DevMode);
DevMode.dmFields = DM_DISPLAYORIENTATION;

if (DISP_CHANGE_SUCCESSFUL == ChangeDisplaySettingsEx(NULL, &DevMode, NULL, CDS_TEST, NULL))
{
CurrentAngle = DevMode.dmDisplayOrientation;
RETAILMSG(1, (L"ChangeDisplaySettingsEx reports the current rotation as %d", CurrentAngle));
}
else
{
RETAILMSG(1, (L"ChangeDisplaySettingsEx failed to get the current rotation angle."));
CurrentAngle = -1;
}

//
// Rotate to the "next" angle.
//

if (CurrentAngle >= 0 && RotationAngles >= 0)
{
NewAngle = CurrentAngle;

do
{
NewAngle <<= 1;

if (NewAngle == DMDO_0)
{
NewAngle = DMDO_90;
}

if (NewAngle > DMDO_270)
{
NewAngle = DMDO_0;
}
} while (!(NewAngle & RotationAngles) && (NewAngle != DMDO_0));

memset(&DevMode, 0, sizeof (DevMode));
DevMode.dmSize = sizeof (DevMode);
DevMode.dmFields = DM_DISPLAYORIENTATION;
DevMode.dmDisplayOrientation = NewAngle;

if (DISP_CHANGE_SUCCESSFUL == ChangeDisplaySettingsEx(NULL, &DevMode, NULL, CDS_RESET, NULL))
{
RETAILMSG(1, (L"ChangeDisplaySettingsEx changed rotation angle to %d", NewAngle));
}
else
{
RETAILMSG(1, (L"ChangeDisplaySettingsEx failed to change the rotation angle to %d", NewAngle));
}
}

return 0;
}

kartam
26th October 2007, 01:36 PM
i build a .NET project that allow to rotate the screen, but for me it works ONLY on emulator SDK only in both WM5 and WM6 why? i post the exe and the source.. give me some answer.. :o



Hey, I have a Vox (s710) for a few days so I could search which application is used by this phone to rotate the screen.

ericjm
26th October 2007, 06:59 PM
Hey, I have a Vox (s710) for a few days so I could search which application is used by this phone to rotate the screen.

that would be great mate. we'll be waiting for it. :)

Qlphn
30th October 2007, 01:18 AM
bad news...

i found this somewhere in eMbedded VC++ documentation:

Screen rotation requires support from the display driver, which maintains information regarding rotation. Screen rotation is currently supported only on devices that use a single screen and is not supported on multiple screen devices.

An application calls the ChangeDisplaySettingsEx function to determine the screen orientation modes that the system supports, to set the angle by which the screen is rotated, and to query the current angle of rotation

I've written small utility (C++, native code just to be sure that no funny hardcode in compact framework is messing) and i've tested it on SPV C600 and TYTNII. On TYTN all was OK (screen rotated), on C600 (WM6) error was 'DISP_CHANGE_BADMODE' - exactly like described in docs...

so (IMHO): display driver (heh.. I suspected that there is sth like display driver ;) ) just does not support screen rotation, so no matter that WM6 supports it... :(

we got two choices:
- find better one (heh... i do not even know the name of the file... but this i can find - i think i saw it once where i was plaing with regedit ;) )
- live with 0 degrees rotation :)

kmz
30th October 2007, 09:28 AM
It is necessary patch driver from vox. It approaches, but incorrectly turnoff screen. Illumination does not die away, and after that the image is displaced on 15 pixels to the right. With the all perfectly rotates. Except for joystick...

rickwyatt
31st October 2007, 02:41 AM
It is necessary patch driver from vox. It approaches, but incorrectly turnoff screen. Illumination does not die away, and after that the image is displaced on 15 pixels to the right. With the all perfectly rotates. Except for joystick...

could you uploader the driver plz

nav1
31st October 2007, 03:49 AM
How can I find the driver in the ROM?

kmz
31st October 2007, 03:55 AM
http://kmz.ho.com.ua/dispdriver.vox.zip
Here the driver and the certificate by which is signed the driver.

Qlphn
31st October 2007, 09:53 AM
so we got POC done, now time for hard reset ;)


http://img520.imageshack.us/img520/9373/imag0038aov9.th.jpg (http://img520.imageshack.us/my.php?image=imag0038aov9.jpg)
http://img144.imageshack.us/img144/2015/imag0039awq3.th.jpg (http://img144.imageshack.us/my.php?image=imag0039awq3.jpg)


driver supports screen rotation, but it got problems with display time out - when backlight should be off it is on, but screen becomes white and it's premament (until reboot).
Just for info - U can use MyMobiler to operate - no matter that screen is dead, phone itself is still doing his job ;)

karhoe
31st October 2007, 12:54 PM
Hey, that is great

Good job guys, i'm sure you guys can improve it.

Just some suggestion, perhaps you can make some application which will toggle landscape/potrait and map it to one of the shortcut keys such as long_volup

qtek_metanol
31st October 2007, 01:56 PM
driver supports screen rotation, but it got problems with display time out - when backlight should be off it is on, but screen becomes white and it's premament (until reboot).
Just for info - U can use MyMobiler to operate - no matter that screen is dead, phone itself is still doing his job

Excelent work Qlphn, what about the joystick control? It changes the way to control the Joystick when you switch to Panorama Modus?

THX

kartam
31st October 2007, 04:11 PM
Has anyone got the Tornado display driver? I could probably check differences with windiff and hexedit it .

kartam
31st October 2007, 04:41 PM
Hey!
I managed to do this with DDI driver you've attached.
Well, the joy doesn't follow orientation, screen rotation works. After some time my display takes weird colours. I hope this can be fixed anyway, well I will try to work it ;)
Maybe only registry edit is required? I will compare vox registry with tornado one and say what I noticed.

Greetings

Qlphn
31st October 2007, 07:13 PM
It changes the way to control the Joystick when you switch to Panorama Modus?


I am afraid not, at the moment. I used really primitive application - less than 10 lines of source code ;) I think it can be done, but it's not the main problem...

Has anyone got the Tornado display driver? I could probably check differences with windiff and hexedit it .

U will be surprised - vox dll is 3 times longer than tornado one...

anyway - maybe, just maybe problem is not in driver dll but in some part connected with power-management. When 'display time out' is set to 'never' all works ok - but sure, it will kill the battery ;) I have to chek what will happen if i will try not-native software to switch off the backlight.. sth like automatic keylock, or maybe i will write sth on my own...

btw - i used:
ericjm 'WM6 For Tornado - HTC Vanilla Edition'
ddi.dll is from kmz post

Qlphn
31st October 2007, 07:49 PM
I was such a pessimist ;)

first time i tried it i just exchanged old dll with new one.

now i did it another way:
1. renamed vox ddi.dll to ddi2.dll
2. copied it \Windows
3. used cab file from dispdriver.vox.zip (i am not sure what wil happen without it - unsigned dll while system startup?
4. change HKLM\System\GDI\Drivers\Display from ddi.dll to ddi2.dll
5. change HKLM\System\GDI\Drivers\MainDisplay from ddi.dll to ddi2.dll
6. reboot

and it works OK ;)

(almost - in fact screen rotation procedure still is returning error! but it is also rotating screen... i got no reason to show the error to user : )

probably somewhere in the system is hardcoded call to ddi.dll conected with power management. Now it can use old dll, and screen rotation is using new one? :)

Can anyone confirm if it works correct on his Tornado?

and for me it's time to:
- check what can we do with joystick
- check if screen orientation is correct reported to programs
- check if it's nesesery to add HKLM\System\GDI\Drivers\Rotation branch to registry

Qlphn
31st October 2007, 09:36 PM
Really simple program I wrote.

http://rapidshare.com/files/66557524/scRot_0_90_0.exe.html

When screen orientation is 0 it will be changed to 90, when it's other than 0 it will be changed to 0. If anyone want all 10 lines of source code just let mi know ;)

it's in compact framework now - i got strong feeling that errors i got before are connected with really old compiler i used in first attempt (eMbedded Visual C++ 4.0).

kmz
31st October 2007, 11:10 PM
Superb! It is necessary to understand with the driver of the keyboard. From VOX partially approaches, but keys not those are pressed also this driver cheerfully acts on the display. The image is mirror reflected....
http://kmz.ho.com.ua/shot1.jpg

Qlphn
1st November 2007, 01:23 AM
The image is mirror reflected....

argh...:eek:

I'll try to find 'overwork' - i remember that when i was using imate WM5 on my C600 there was some registy branches with russian keyboard mappings... maybe it's possible to use that feature... of course rotation-aware keyboard driver would be perfect, but - as proffesional pessimist - i just can't belive it's possible to put half vox files to tornado without side effects ;)

of course if it's possible dynamically change keyboard mapping/layout it would also mean that we will need dedicated program for screen rotation...

btw, i was plaing a little with standart wm6 software... and i found that most of it is checking screen while starting and ignoring orientation change... 2 possibilities -
1) application 'know' that there will be no screen rotation (they are written this way)
2) notification that screen parameters had been changed is not given to applications...

checked on file manager - he works a OK when started in landscape mode, but if it was started before rotation it remembers old screen dimenisions and just does not fit rotated screen.

karhoe
1st November 2007, 07:40 AM
Hey guys, it is good to have a mirror option, you can use it as HUD while driving at night, well just for some fun

http://karhoe.byethost33.com/content/view/49/1/

Qlphn
1st November 2007, 11:34 AM
bad news:

procedure i described few posts ago is breaking event delivery - i mean that applications are not resceiving some signals connected with power management. Of course it was my target, but it also means that when phone is waking up from standby screen is not refreshed - for example on home screen U can see time when phone entered suspend state, not the current time - until U generate another event - for example 'got focus'

i am afraid that means that first attempt - exchanging dll's - was better way - we have to figure out why some events are handled bad. Breaking events delivery is not good solution :(

kartam
1st November 2007, 10:18 PM
so there we go.
we are so close and yet so far. I think that a dedicated app should remap keys, I will work on it in compact framework. I may know what to do, I think.

nav1
1st November 2007, 11:26 PM
I have a question. How did you get the IR and bluetooth icons that are on the screenshot?

kmz
2nd November 2007, 12:29 AM
Compact framework? Oh, my God! Only not this generator of brakes! Tool up IDA and winhex is better and dig the driver of the keyboard. The simple program will not provide necessary reliability. Will work not everywhere.
---
e-v@n, http://kmz.ho.com.ua/irbtmon.zip

nav1
2nd November 2007, 12:36 AM
kmz: Thank you!

Qlphn
2nd November 2007, 12:40 AM
Compact framework? Oh, my God! Only not this generator of brakes! Tool up IDA and winhex is better and dig the driver of the keyboard. The simple program will not provide necessary reliability. Will work not everywhere.

It depends ;) We know target platform, we are sure that compact framework 2.0 is present. We got low expectations about speed, so if we will check conditions correct way it couldd be safe/reliable enough :)

of course i would prefer just get som dll from vox, change them and use them - but i am just not skilled enough ;) morever - i just do not remember how vox joystick is working after mode change... and i didn't check how it is working when screen orientation change was invoked by software, not by sliding keyboard... so it's possible that it got the same trouble! my next meeting with the only vox owner i know will be in next week...

nav1
2nd November 2007, 02:12 AM
Isn't it possible that the VOX's keyboard driver would somehow change the joystick directions whenever the screen is rotated?

Qlphn
2nd November 2007, 03:27 PM
Isn't it possible that the VOX's keyboard driver would somehow change the joystick directions whenever the screen is rotated?

indeed, it is possible - and we hope so it will work :)

kartam
2nd November 2007, 08:30 PM
Compact framework? Oh, my God! Only not this generator of brakes! Tool up IDA and winhex is better and dig the driver of the keyboard. The simple program will not provide necessary reliability. Will work not everywhere.
---
e-v@n, http://kmz.ho.com.ua/irbtmon.zip

why shall I disassemble the driver while I can do it much easier?
hey, and I have a Vox for a few days now you can ask me anything about it!

nav1
2nd November 2007, 09:10 PM
why shall I disassemble the driver while I can do it much easier?
hey, and I have a Vox for a few days now you can ask me anything about it!

Does the joystick direction change when you rotate the screen?

kartam
3rd November 2007, 11:39 AM
Does the joystick direction change when you rotate the screen?

Well there is no joystick but a D-Pad (4 directional keys and a center one), of course the direction changes as you rotate the screen.

There may be problem installing keybddr.dll driver from Vox onto Tornado. Why? Because there in Vox some keys are on other layout , and there is secondary keyboard (but this shouldn't be a problem anyway)

kartam
3rd November 2007, 02:44 PM
Hey!
I have collected all of your efforts into a single application - Tornado Display Manager.
It can:
- select the display driver from ddi.dll (standard driver) to ddivox.dll (vox driver with screen rotation) so if any issues come out you can always go back.
- change orientation at 4 ways
- change DPI from 131 to 96 (experimental, because there is no resource pack at the moment and some icons do not display properly)
WARNING! Install wmtequan.cab (attached) otherwise changing display driver to ddivox.dll will result in unbooting system requiring a hard reset!
Unfortunately joy issue is still not resolved, anyway have a try.
http://www.mediadrain.com/wmtequan.cab
http://www.mediadrain.com/tdm_1.0.0.cab

kmz
4th November 2007, 01:40 AM
- change DPI from 131 to 96 (experimental, because there is no resource pack at the moment and some icons do not display properly)


I did such full pack.
Link: http://kmz.ho.com.ua/KMZ%20131dpi-96dpi%20WM6%20(18120.0.4.0).cab
Works on 5.2.1616 (18120.0.4.0). not guarantee normal work on other os versions.

nav1
4th November 2007, 01:31 AM
I did such full pack.
Link: http://kmz.ho.com.ua/KMZ%20131dpi-96dpi%20WM6%20(18120.0.4.0).cab
Works on 5.2.1616 (18120.0.4.0). not guarantee normal work on other os versions.
The 96 dpi doesn't work quiet right on WM6. It changes the resolution and it also shows up the icons (unlike when I just edited the registry keys) but i can't do much with the phone. I can't press any keys nor connect it to the PC.
I think that that's because it is replacing some dlls.

kmz
4th November 2007, 12:23 PM
e-v@n, try to install this certificates!
http://kmz.ho.com.ua/WMsdktestcert.cab
Here patched commmanager 1.6.3 and t9ime.dll http://kmz.ho.com.ua/ext.rar
Here patched commmanager 1.4.1 (install .reg from ext.rar!) http://kmz.ho.com.ua/CommManager141patched.zip

kartam
4th November 2007, 12:24 PM
The 96 dpi doesn't work quiet right on WM6. It changes the resolution and it also shows up the icons (unlike when I just edited the registry keys) but i can't do much with the phone. I can't press any keys nor connect it to the PC.
I think that that's because it is replacing some dlls.

OK, well but I would like to ask you one more thing. Do you have a vox keybddr.dll driver anyone? I tried to dump rom but I failed ... Could any one maybe help me with this? Because i feel so angry with that, I can't do it! :(

kmz
4th November 2007, 12:49 PM
kartam, http://kmz.ho.com.ua/keybddr.dll_vox.7z
It not signed! Sign with Smartphone 2003 Privileged Test Signing Autority.

kartam
4th November 2007, 01:02 PM
kartam, http://kmz.ho.com.ua/keybddr.dll_vox.7z
It not signed! Sign with Smartphone 2003 Privileged Test Signing Autority.

This is why it did not worked! Thanks for info ;)
Good that I have a registry editor on-pc, i didn't have to hard reset

OK, I signed it succesfully
But it doesn't seem to work :( The screen goes white. I've got another idea, but it must wait...

kmz
4th November 2007, 02:18 PM
White screen? Hmm. Very strange... Did you install wmtequan?

bluehanson
4th November 2007, 02:30 PM
Hey!
I have collected all of your efforts into a single application - Tornado Display Manager.
It can:
- select the display driver from ddi.dll (standard driver) to ddivox.dll (vox driver with screen rotation) so if any issues come out you can always go back.
- change orientation at 4 ways
- change DPI from 131 to 96 (experimental, because there is no resource pack at the moment and some icons do not display properly)
WARNING! Install wmtequan.cab (attached) otherwise changing display driver to ddivox.dll will result in unbooting system requiring a hard reset!
Unfortunately joy issue is still not resolved, anyway have a try.
http://www.mediadrain.com/wmtequan.cab
http://www.mediadrain.com/tdm_1.0.0.cab

It works well on my Dopod 577W. Thank you.

BTW, kartam, are you a chinese? I judged from wmtequan.cab, "tequan" means "privilege" in chinese. Or maybe another chinese guy offered this .cab file?

kartam
4th November 2007, 02:38 PM
It works well on my Dopod 577W. Thank you.

BTW, kartam, are you a chinese? I judged from wmtequan.cab, "tequan" means "privilege" in chinese. Or maybe another chinese guy offered this .cab file?

No, I am not a chinese, the guy that offered that file was kmz along with the Vox driver before in this post. I don't know the origin of the file, you must ask him.

White screen? Hmm. Very strange... Did you install wmtequan?
Yes... I'll try again, I hard-resetted. Anyone wants the certified file keybddr.dll from Vox, I can upload it.

bluehanson
4th November 2007, 03:04 PM
No, I am not a chinese, the guy that offered that file was kmz along with the Vox driver before in this post. I don't know the origin of the file, you must ask him.

Hah, I don't really want to put a track on the origin, that question is out of my curiosity. Anyway, thank you kartam and all guys who are working on it, and hope joystick issue can be fixed soon.

bluehanson
5th November 2007, 05:23 AM
Hi kartam, when you update TDM, would you please move all hard-coded strings into resource table such as DisplayManager.0409.dll, in order to make the application easier to localize. Thank you.

arpy
5th November 2007, 07:44 PM
There is a provisoric method to remap the Joystick:AEButtons Plus.Works well fine for me...

ericjm
5th November 2007, 08:34 PM
There is a provisoric method to remap the Joystick:AEButtons Plus.Works well fine for me...

where is it? did it fix the joystick problem in landscape?

kartam
5th November 2007, 08:51 PM
Hey guys, please explain me what is the problem with 96 DPI in my application? I would like to fix it, my app changes registry values at hklm\Drivers\Display\GPE and it changes logicalpixelsx and logicalpixelsy to 96. Is it wrong?

I'll be tracking how to remap keys of joystick and then try to add it to my application while it rotates the screen.

Well, bluehanson I will try to release next version translation-friendly :)

Greetings everyone! Thanks for interest ;)

Our Tornados "joy-doesn't-follow-orientation" problem would be already fixed if my father gave me his SPV e650 for 10 minutes ... :/
Mr Moderator... how about making this a sticky ? ;)

nav1
5th November 2007, 10:03 PM
Hey guys, please explain me what is the problem with 96 DPI in my application? I would like to fix it, my app changes registry values at hklm\Drivers\Display\GPE and it changes logicalpixelsx and logicalpixelsy to 96. Is it wrong?

The problem is that some icons don't show up using that 96 dpi. Someone posted something to make it work in this thread on the previous page.

bluehanson
6th November 2007, 12:44 AM
Hey guys, please explain me what is the problem with 96 DPI in my application? I would like to fix it, my app changes registry values at hklm\Drivers\Display\GPE and it changes logicalpixelsx and logicalpixelsy to 96. Is it wrong?

I'll be tracking how to remap keys of joystick and then try to add it to my application while it rotates the screen.

Well, bluehanson I will try to release next version translation-friendly :)

Greetings everyone! Thanks for interest ;)

Our Tornados "joy-doesn't-follow-orientation" problem would be already fixed if my father gave me his SPV e650 for 10 minutes ... :/
Mr Moderator... how about making this a sticky ? ;)

Well, that is cool, I'd like to create 0804.dll (simplified chinese) and 0404.dll (traditional chinese) for chinese users when the new version released.

kmz
6th November 2007, 04:32 AM
Hey guys, please explain me what is the problem with 96 DPI in my application? I would like to fix it, my app changes registry values at hklm\Drivers\Display\GPE and it changes logicalpixelsx and logicalpixelsy to 96. Is it wrong?
Easier to change these values there is not enough. There it is necessary to change much in the registry, and to replace files with resources. Look mine cab. It completely puts in 96DPI. In the program it will be difficult for realizing.

kmz
9th November 2007, 09:53 PM
I have tried to put the driver from Prophet. At replacement of the driver the smart swithes on, works, but at clearing the screen illumination does not go out also the screen does not switch on any more. If the driver to rename and throw, all works also the screen rotates. But with updating the screen the same problems. The driver from prophet is more similar to the driver from tornado.... It is necessary to try the drivers from various devices. Can will approach anything....

karhoe
16th November 2007, 06:19 PM
So guys, any update so far ?

illi
16th November 2007, 06:30 PM
So guys, any update so far ?

How's your exam man?
You should not be here:cool:

karhoe
17th November 2007, 02:51 AM
Haha, just having some break, sent my Tornado for RMA, apparently, they don't care if i SuperCID my device because in the terms and condition, they only say, warranty is null and void only if

Damage ARRISING from modification to core software or through improper computer .......

My damage was not ARRISING from flashing to WM6

commanderkeen
19th November 2007, 07:56 PM
Nice work, now i can run TomTom 6 in landscape mode, thanks!

qtek_metanol
22nd November 2007, 01:42 PM
Are there some news about a improvement of the rotation screen out there...??

allic
23rd November 2007, 03:51 AM
this chinese forum has some cooker who manage to make the tornado's screen toggle to landscape mode...

dopod577W_WM6_OS_6.0.07.1105.2_Yahei_PlumSIP5_AS(L andscape) (http://bbs.koxo.cn/viewthread.php?tid=15020&extra=page%3D1)

karhoe
23rd November 2007, 05:19 AM
Cool, can someone extract it ?

illi
23rd November 2007, 07:55 AM
Cool, can someone extract it ?

can you download it and post it to rapishare? I can try to extract the relevant file.

thanks

karhoe
23rd November 2007, 08:09 AM
Apparently its from EA lol, ask brother EA to help us !

Seems like you need to restart when changing view, a little troublesome

http://www.fs2you.com/files/2ef34c02-8b60-11dc-a752-0014221f3995/

bluehanson
23rd November 2007, 09:22 AM
Cool, can someone extract it ?

It's a chinese ROM with kartam's TDM 1.0.0 integrated, I don't think it's necessary to extract it, download TDM from the first page, then you will find they are the same.

karhoe
23rd November 2007, 10:36 AM
Does anybody know how to edit dll files? Maybe we can edit the keyboard DLL files and compare it with vox dll, not only we can make it work with screen orientation, we can also include LONG_AP1 and LONG_AP2

I realized that when it is switched to left handed lanscape, in the start menu, the keypad shortcuts button are working correclty

For instance, pressing 3 would open IE, 6 would open TASKS, 9 would open WMP and # would open Calender, so that should be the correct landscape orientation.

I have another suggestion, can you set the program to have certain arguments?
For instance TDM.exe -0 -270 which means that when executed it would just toggle the screen between 0 degrees and 270 degrees, then we just have to map the hardware keys to the shortcut

I tried AE Button Plus, it has the option to set screen rotation in just one button press, tried and it seems to work even easier, just long hold and the screen rotates

kartam
24th November 2007, 11:25 PM
I have another suggestion, can you set the program to have certain arguments?
For instance TDM.exe -0 -270 which means that when executed it would just toggle the screen between 0 degrees and 270 degrees, then we just have to map the hardware keys to the shortcut

No problem, command line parameters are quite easy to do. Sorry for long absence, I forgot about this subject due to long silence in thread ;)
Another thing are the joy keys... i think there is a binary registry value in the HKLM\HARDWARE\DEVICEMAP\KEYBD, parts of it should be changeable to change keys meaning, but how..?

Qlphn
25th November 2007, 12:20 AM
For instance TDM.exe -0 -270 which means that when executed it would just toggle the screen between 0 degrees and 270 degrees, then we just have to map the hardware keys to the shortcut


in fact we need 1 argument, not 2... program can check what is current screen orientation ;)

morever - .net program rotating screen is only 5 k long - so if U really want i can make 4 versions - r0.exe, r90.exe, r180.exe, r278.exe ;)

especially rotating screnn to 180 is really a must ;)

karhoe
25th November 2007, 03:06 AM
So perhaps we make it rotate between 0 and 270, the reason 270 and not 90 is because how the keypad works at that 270 degrees orientation.

The numeric numbers in the keypad seems to be mapped to the respetive shortcuts in the start menu, for instance, when you rotate the screen to 270 degrees

on your keypad its,

3 6 9 #
2 5 8 0

3 would open the most left shortcut in start menu which is Internet Explorer, then 6 would open Tasks, 9 would open Windows Media, # would open Calender

Try it and you would understand what I mean, at 90 degrees, the numeric keypad still works the same way

umeshvishwa
26th November 2007, 07:46 AM
It is not working on SP5m under WM5, it is reqd WM6??

karhoe
26th November 2007, 09:00 AM
Yes, only WM6 support screen rotation

Sefy
21st December 2007, 09:37 PM
Say guys, any updates on the refresh rate or joystick orientation ? :rolleyes:

Qlphn
22nd December 2007, 04:44 PM
Sorry - i was kinda busy last few weeks - and i am not using my C600 as main device anymore... so it may take quite a while ;(

karhoe
23rd December 2007, 03:13 AM
I'm wondering, have anyone tried Wings driver for rotation?

kiyakerkan
7th January 2008, 06:55 PM
Can we rotate IPAQ 514 voice messengers screen with these programs? was anyone tried?

karhoe
8th January 2008, 06:40 AM
Hell no, the driver is not meant for u, not to mention ur resolution is way smaller

Profy_X
26th January 2008, 08:39 PM
Any new news about the rotation tool?any new improvement?:confused:

pongothemagnificent
28th January 2008, 09:01 AM
if i change the dpi with this tool will it fark up my phone or not?

bestever
30th January 2008, 06:20 PM
so how long have you come when does the fully working one coming

phonuzer
26th February 2008, 10:55 PM
Anyone think of looking at the code within TCPMP regarding screen orientation and the program's ability to have the D-Pad/Joystick follow screen orientation?

markanthonypr
9th March 2008, 10:06 AM
Anyone think of looking at the code within TCPMP regarding screen orientation and the program's ability to have the D-Pad/Joystick follow screen orientation?

Exactly what I've been thinking of while reading through this thread. Screen orientation and joystick work great with TCPMP. Hope one of our smart boys here read us and follow up on this. Keeping my eyes on this thread!!

nazgul06
9th March 2008, 10:39 AM
TCMPC do not rotate screen, as WM do, it only rotate it's window. So it isn't possible to to use their code.

phonuzer
9th March 2008, 05:39 PM
TCMPC do not rotate screen, as WM do, it only rotate it's window. So it isn't possible to to use their code.Why not?
Why could this not be applied to PIE or Opera if it allows the OP and others to do what he/she/they want?

This may be the workaround; just depress the joystick and the screen (window) changes to landscape, use as desired with the joystick following screen (window) orientation and then depress joystick to return to portrait.
You would have to arrange for a menu selection to switch between select and portrait/landscape when depressing the joystick or, perhaps, arrange for another key to be used for select.

I wonder if any maker of browser, let alone other apps, is looking at writing this into their code for use with devices lacking the screen rotation ability?

nazgul06
9th March 2008, 09:32 PM
So encourage opera or pie developers to add this function in next release. It cannot be done by us ourself.

FoxEye
9th March 2008, 11:57 PM
Good evening,

I have two small questions.
How to create a shortcut to change the orientation?
And anybody has to find how to manage the d-pad?

Thank you in advance, and saddened for my bad English.

phonuzer
10th March 2008, 02:54 AM
So encourage opera or pie developers to add this function in next release.I have but have yet to get results.

It cannot be done by us ourself.Take another look at your glass; perhaps it's really half-full. ;)

Good evening,

I have two small questions.
How to create a shortcut to change the orientation?
And anybody has to find how to manage the d-pad?

Thank you in advance, and saddened for my bad English.Re: Two small questions - WM allows for shortcuts to a .lnk file that is associated with an .exe.

How this would apply for use with a browser is different in that the option of changing screen or window orientation would, more than likely, need to be code within the application itself; like TCPMP. The code written for the D-Pad/Joystick typically deals with scrolling and selecting so if it were to be used for screen orientation pressing the pad or stick would have to have a dual purpose unless one of the commands (e.g./ select) were to be assigned to another key or button. -or- There could be a separate application (as described earlier in the post) involving the video drivers for the device making anything sent to the screen rotate 90 degrees to the left or right as with image viewers. This could create problems with applications that only display in portrait.
Don't forget that TCPMP also allows for changes in "Pixel Aspect Ratio" that help different videos display properly.

Managing the D-Pad or Joystick would be through the code of either the OS or a running application.
When some applications are running, like TCPMP, its code over-rules the use of certain buttons, keys, pads and sticks; this is the trick for those of us looking for the ability to change the screen's orientation.

Maybe it would be easier to load a whole WM for PPC's ROM on the Tornado/SDA and then assign a key that triggers the screen orientation change as what happens when the keyboard slides out on those devices?

Lastly, never apologize for "bad English"; All good intentions and questions are welcome.

Qlphn
19th March 2008, 08:19 PM
There is a provisoric method to remap the Joystick:AEButtons Plus.Works well fine for me...

U forgot to say that it have to be registered version of AEButton Plus...

configuration may be as simple as:

; Q Test layout for Smartphone keypad
Layout TEST, Q Smartphone
Hint Q
; Alternative Shift flag processing
Key 0026 k0027 ;
Key 0028 k0025 ;
Key 0025 k0026 ;
Key 0027 k0028 ;

tested on cooworker C600, working fine (I can't do this on my phone - i got no registered AEButton).

Profy_X
18th April 2008, 11:20 PM
Any improvment on the screen rotation tool?thas the refresh work?:confused:

rickwyatt
5th May 2008, 01:39 PM
can the keypad be fixed???:confused:

snkchaos
6th January 2009, 08:49 AM
Finally!! this is very nice program. I went on and off searching this type of program for my SDA. Thanks

SGH-i200
22nd February 2010, 06:51 PM
If you have installed MortScript you only need one line to rotate! :D

Rotate(270)

And back:
Rotate(0)

More Infos here. (http://forum.xda-developers.com/showthread.php?p=5697341#post5697341)

SGH-i200
22nd February 2010, 07:14 PM
U forgot to say that it have to be registered version of AEButton Plus...

configuration may be as simple as:

; Q Test layout for Smartphone keypad
Layout TEST, Q Smartphone
Hint Q
; Alternative Shift flag processing
Key 0026 k0027 ;
Key 0028 k0025 ;
Key 0025 k0026 ;
Key 0027 k0028 ;

tested on cooworker C600, working fine (I can't do this on my phone - i got no registered AEButton).

Can these "Test layout" imported in "AEButton Plus" or do I have to assign the keys manually?

Is it possible to have a temporary layout in AEButton? I only want the d-pad changed as long as the screen is rotated with MortScript...

SGH-i200
23rd February 2010, 09:48 AM
Can these "Test layout" imported in "AEButton Plus" or do I have to assign the keys manually?

Is it possible to have a temporary layout in AEButton? I only want the d-pad changed as long as the screen is rotated with MortScript...

I build that script that I wanted to have. You find the needed files in the zip attached to this post.

You need to:
1. Move the mscr file to the start menu in subfolder "Internet"
2. Install AEBPlus to your "Storage Card"
3. Copy the cfg file into the AEPlus folder
4. Start IE_Rotate through start menu

Here's the code from the MortScript file:

Run("..\..\..\Storage Card\Program Files\AEBPlus\AEBPlus.exe")
Rotate(270)
RunWait("..\..\..\Windows\iexplore.exe")
Rotate(0)
Run("..\..\..\Storage Card\Program Files\AEBPlus\AEBPlusUnload.exe")

Warning: Make a FULL BACKUP before you install AEPlus on your non-touch device!!!

This script will only work for you if you want to use AEPlus all the time. I don't know by now how to temporary change the AEPlus config...