[maemo-developers] [maemo-developers] How to determine if the screen has turned off?
From: Jakub.Pavelek at nokia.com Jakub.Pavelek at nokia.comDate: Thu Dec 14 11:01:00 EET 2006
- Previous message: [maemo-developers] How to determine if the screen has turned off?
- Next message: [maemo-developers] How to determine if the screen has turned off?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>> 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? > >Frantisek Hi, Shipped SDL games use wrappers to get some useful callbacks. It is not documented anywhere AFAIK (but sure enough we do have a howto for SDL_net that is about 100% useless for the device). Br, --jakub
- Previous message: [maemo-developers] How to determine if the screen has turned off?
- Next message: [maemo-developers] How to determine if the screen has turned off?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]