[ohm] monitoring INPUT state
Ross Burton
ross at burtonini.com
Fri Jun 29 04:01:20 PDT 2007
On Fri, 2007-06-29 at 11:58 +0100, Richard Hughes wrote:
> For OLPC, we need to detect inactivity. For the moment (until the
> session bits and bobs are connected) I really just want to
> monitor /dev/input/event[x] where x = 0 to 4. I'm thinking of using
> select() with open fds on each input device, although I'm no expert in
> this sort of thing.
Really new X servers have an inactivity counter maintained in the
server.
Ross
--
Ross Burton mail: ross at burtonini.com
jabber: ross at burtonini.com
www: http://www.burtonini.com./
PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/ohm-devel/attachments/20070629/8c200596/attachment.pgp
More information about the Ohm-devel
mailing list