[maemo-developers] [maemo-developers] How to determine if the screen has turned off?

From: Tapani Pälli tapani.palli at nokia.com
Date: Thu Dec 14 11:10:30 EET 2006
ext Frantisek Dufka wrote:
> Johan Bilien wrote:
>> http://maemo.org/platform/docs/api/libosso/html/index.html
>> You can register a callback with osso_hw_set_event_cb, set the
>> system_inactivity_ind flag in the osso_hw_state_t argument.
> Will this callback be called even without processing gtk/glib loop?


> If not is there other way how to check for blanked display e.g. from
> SDL app? How SDL games shipped with device do that?

Nope, but this shouldn't be problem. Just include libosso.h and use the

> Frantisek
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://maemo.org/mailman/listinfo/maemo-developers

// Tapani

More information about the maemo-developers mailing list