From: Gerrit V. <ge...@ro...> - 2009-01-22 03:18:37
|
Hi I am adding to the Nokia N8x0 port the capability to keep the screen lit under some conditions. E.g. Maemo-mapper does this already, based on fullscreen and/or gps activity etc. What I am trying to figure out is the best place to put the code. I am thinking that navit.c:navit_vehicle_update() is a good place. I already have the osso_context in struct navit. And this is also the file where I initialize osso. The logic will be based on a config param with values of unblank on Fullscreen, on GPS activity, never. The requirement is that osso_display is unblanked within 60 second intervals. Regards, Gerritv http://tech.visser-scully.ca for Navit on N8x0 information |