How to disable screen saver in SDL?

2008-02-19 Thread Till Harbaum / Lists
Hi,

i have a little sdl app which i use to test my tiltstick. Since the tiltstick 
is none of the typical input mechanisms it doesn't reset the timout of the 
screen saver.

How can i trigger the screen saver from a pure sdl application?

Till
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: How to disable screen saver in SDL?

2008-02-19 Thread Tapani Pälli
ext Till Harbaum / Lists wrote:
 Hi,

 i have a little sdl app which i use to test my tiltstick. Since the tiltstick 
 is none of the typical input mechanisms it doesn't reset the timout of the 
 screen saver.

 How can i trigger the screen saver from a pure sdl application?

   

You can use libosso, see function disable_display_blank() in :

http://www.google.com/codesearch?hl=enq=+enk_init.c+show:LphOR0hsj4o:k-6gweQTR0E:6xyP0otZaZksa=Ncd=2ct=rccs_p=https://garage.maemo.org/frs/download.php/180/hh_source.tar.bz2cs_f=hedgehopper/libenkine/enk_init.c#first

 Till
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers

   


// Tapani Pälli

-- 
Software Engineer
Open Source Software Operations 

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers