[maemo-developers] [maemo-developers] How to determine if the screen has turned off?
From: Frantisek Dufka dufkaf at seznam.czDate: Thu Dec 14 14:04:48 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 ]
Eero Tamminen wrote: > I think the app loses focus when the screen is blanked. > So, the SDL app could catch screen focus events and do > some additional checks when that happens. Good idea, thanks. > > Or SDL app could always pause when it loses focus... > This is good for video updates but sometimes not good for sound or AI code in games. Of course when the device is really inactive (whatever that means exactly) sound and other stuff should be stopped too. Frantisek
- 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 ]