PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

About Stylus Tap Lagging...

I have experienced the same "Problem" with CastCE , i don't use MS API LOOP when you Start Emulator, API is only use for main menu.

When i want to Get the Stylus Tap position, i do that:


While (PeekMessage(&msg,NULL,WM_LBUTTONDOWN,WM_LBUTTONUP,PM_REMOVE){
switch (msg.message){
Case WM_LBUTTONDOWN:
.....
....
break;
Case WM_LBUTTONUP:
....
....
break;
}
TranslateMessage(&msg);
DispatchMessage(&msg);
}


this work very well, except that , on CastCE and now on FpseCE it take a lot of CPU bandwitdh.

Without that Emulators still slowdown, a bit less, but still slowdown when tapping on Screen anywhere.
For example a game running at 47 fps, when i tap the Screen and move my stylus around screen, it slowdown to 32 fps......

Anyone have a special trick to Disable this Slowdown when we tap the screen?

For example TombRaider haven't this problem...they surely use another method, or there is perhaps something to Disable.
This has been discussed in this thread before, but no solution was reached.

Dan East
i found that playing with CePriority don't help, because if we force Priority just to the same Level of the Touch Panel , Touch Panel don't work, neither Key handling. In fact Panel Interrupt never comes...

I found that 'TouchPanelSetMode' can be use to change the Sample Rate of the Touch Panel Driver to Lower or Higher value...
But this Function Is Only available in PlatformBuilder.

If anyone could send me by PM or Mail (ludovic.olivencia@numericable.fr) the Definition for this Function and the .lib for ARM... i could try it to see if that could fix our problem.....
Well that certaintly sucks. Hmmm...too much knowledge for me too handle. :?