nanogui: About ScreenSaver


Previous by date: 4 May 2001 14:26:05 -0000 X11 KEY_UP event, Timo Ketola
Next by date: 4 May 2001 14:26:05 -0000 MyLinux PLW at LinuxFund.org, Rob Wehrli
Previous in thread: 4 May 2001 14:26:05 -0000 About ScreenSaver, hongouyang
Next in thread:

Subject: Re: About ScreenSaver
From: Alex Holden ####@####.####
Date: 4 May 2001 14:26:05 -0000
Message-Id: <Pine.LNX.4.04.10105041516550.705-100000@hyperspace.linuxhacker.org>

On Thu, 3 May 2001, hongouyang wrote:
> Thanks very much for your reply about the problem about screen refresh.
> I find another problem today. I am using flnx-0.16 to develop gui
> programe, and I want to use the ScreenSaverEvent in flnx to turn on/off
> the backlight of LCD. It seems that flnx has no place to accept the
> event.Does I have to modify the flnx code to do so or is there a more
> portable method?

An easier way may be to do it in the server instead. Create a backlight
device driver which contains a couple of functions called something like
GdBacklightOn() and GdBacklightOff(), then call them from 
GsResetScreenSaver() and GsActivateScreenSaver() (which are in
nanox/srvutil.c) respectively.

-- 
------- Alex Holden -------
http://www.linuxhacker.org/
 http://www.robogeeks.org/


Previous by date: 4 May 2001 14:26:05 -0000 X11 KEY_UP event, Timo Ketola
Next by date: 4 May 2001 14:26:05 -0000 MyLinux PLW at LinuxFund.org, Rob Wehrli
Previous in thread: 4 May 2001 14:26:05 -0000 About ScreenSaver, hongouyang
Next in thread:


Powered by ezmlm-browse 0.20.