nanogui: Screensaver deactivation
Subject:
Re: [nanogui] Screensaver deactivation
From:
Alex Holden ####@####.####
Date:
1 Jun 2006 08:28:12 +0100
Message-Id: <7540C10D-E1F4-49E9-B100-7BB6449177BD@linuxhacker.org>
On 1 Jun 2006, at 04:36, Greg Haerr wrote:
> : On second thoughts, you'll probably need to inject a fake keyboard
> : event every time your keypad reading process detects a button press
> : in order to prevent the screensaver activating because it hasn't
> seen
> : a keypress recently.
> Don't we have an API mechanism to turn off screen saver entirely,
> until another API call to turn it back on?
Setting a screensaver timeout of 0 will prevent screensaver events
being generated, but then your application would have to keep track
of the time between key presses and take care of activating and
deactivating the screensaver itself without the help of the built-in
screensaver mechanism.
--
-----------------------------------------------------------
Alex Holden, Systems Engineer, Clear Digital Solutions Ltd.
Tel: 01282 697280 Email: ####@####.####
-----------------------------------------------------------