> Inside DisplayKbd_Init() try adding this line to the shared version
> DC.AutoRefresh=AUTOREFRESHPOLL; /* Surely this is set somewhere??? */
>
> Might be a place to start? The same line is missing from the gp2x version
> too, so that might be the same problem.

I spent a long time studying that line:

Not setting it to AUTOREFRESHPOLL (like the other platforms do) means
DC.AutoRefresh starts at 0.

Looking at DisplayKbd_Poll() in DispKbdShared.c shows that this results in
RefreshDisplay() being called the first time you enter the function
DisplayKbd_Poll(), rather than the first call being after a delay of
AUTOREFRESHPOLL.

All subsequent calls to RefreshDisplay() are spaced out by the same
AUTOREFRESHPOLL on all platforms.

The net result should simply be that the display is updated more promptly at
program start (but not any more frequently). I would be surprised if this
called significant problems, but I'm always prepared to be proved wrong :)

Matthew


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
arcem-devel mailing list
arcem-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/arcem-devel

Reply via email to