Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


3 posts

Wannabe Geek


Topic # 26104 12-Sep-2008 02:41
Send private message

Hi there.... I´m developing a game for windows mobile 6... I´m testing it in HTC Pilgrim phone.... It have touchscreen functionality, but the problem is that when I touch the screen the frame rate is reduced significantly....

I try adding the following keys to the registry:
========================================================================================================
HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Touch\HighPriority256
HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Touch\Priority256
========================================================================================================

In the following way:

Using RegCreateKeyEx(), RegSetValueEx() and RegCloseKey() functions when game finish it´s installation....
========================================================================================================
HKEY hkey;

DWORD dwVal = 255;

RegCreateKeyEx( HKEY_LOCAL_MACHINE, TEXT("Drivers\\BuiltIn\\Touch"), 0, 0, 0, 0, 0, &hkey, 0 );

RegSetValueEx( hkey, TEXT("HighPriority256"), 0, REG_DWORD, (CONST BYTE*)&dwVal, 1 );

RegCloseKey( hkey );


RegCreateKeyEx( HKEY_LOCAL_MACHINE, TEXT("Drivers\\BuiltIn\\Touch"), 0, 0, 0, 0, 0, &hkey, 0 );

RegSetValueEx( hkey, TEXT("Priority256"), 0, REG_DWORD, (CONST BYTE*)&dwVal, 1 );

RegCloseKey( hkey );
========================================================================================================
then if I reboot the phone, the problem is fixed, so... the real problem is that I need to add the previous lines into the registry and refresh it without reboot the phone....

or if there is another thing I can do..... just tell me....

best regards...

Create new topic
653 posts

Ultimate Geek
+1 received by user: 20

Trusted

  Reply # 164105 12-Sep-2008 20:58

I haven't come across the HTC Pilgrim, but a number of the recent HTC phones have had a problem with poor implementation of graphics drivers for the inbuilt qualcomm video chip - the most common symptom is a slowdown in framerate when the touchscreen is being used.

More information at http://www.htcclassaction.org/ - there are some leaked drivers that can be packaged into a ROM that help with the touchscreen slowdown, but drivers are not yet working properly for most devices of that era.

Create new topic

Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.