PDA

View Full Version : Can it be done? HotSwitch the DPI


Oberth
07-12-2007, 04:52 PM
Hello all,

I am about to get my mitts on an Ameo with Project Dual on and like using RealVGA on my Uni so looking forward to it on the big screen :) however as we all know some progs just will not take to working under VGA. In another thread that I started in Hack & Dev hacking in the hires string using reshacker was suggested but some programs still use QVGA for the touchscreen mapping so all the inputs are somewhere up in one corner or another for example.

My idea is this, would it be possible to have a wrapper or something similar that forces the screen back to 192dpi while running a non VGA happy app then hops back to 96dpi when you exit. This could help with a lot of apps from some of the GPS stuff to old games that people still like to play.

Is this possible or am I asking to much of the Windows Mobile platform :)

johnwalk
07-12-2007, 08:20 PM
unfortunatly when changing the resolution, it has to soft reset, so I dont think this would be possible.

Oberth
09-12-2007, 08:34 PM
OK if we can't change the screens DPI on the go another thought is this . . .

At present some apps mainly games (although there must be a few applications like GPS or such with similar issues) can display the graphics at fullscreen 96dpi but the touchscreen only accepts input from the top left of your screen which is basically a QVGA 320x240 sized box as they were only ever programmed for that type of screen, I have attached a quick layout drawing to give the idea (the same thing would happen if the app is in portrait as well)

This leads to the problem that you have to guess where everything is in relation to the display which is not much use really, my idea is if we could hijack the input on the screen and translate the 96dpi x,y co-ords to the apps native 192dpi co-ords (halfing them should work I guess) so as far as the app is concerned it's back on a regular screen and everyone wins :)

If this is a possible way round it we just need a program similar to Hou Ming's (a.k.a. the Mad Programmer) Force-Hires tool to list which apps we want to fix and when it runs away we go :)