Skip to main content

[Windows Mobile] Touchscreen framerate and registry problem

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [Windows Mobile] >> Windows Mobile 6 >> [Windows Mobile] Touchscreen framerate and registry problem Page: [1]
Login
Message << Older Topic   Newer Topic >>
[Windows Mobile] Touchscreen framerate and registry pro... - 9/11/2008 9:23:54 AM   
warptrosse

 

Posts: 3
Score: 0
Joined: 9/11/2008
Status: offline
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...
Post #: 1
Page:   [1]
All Forums >> [Windows Mobile] >> Windows Mobile 6 >> [Windows Mobile] Touchscreen framerate and registry problem Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.5.5 Unicode

0.016