[SDL] A system monitoring daemon
Nicola Larosa
nico at tekNico.net
Tue Aug 15 11:40:20 PDT 2006
> SDL would be very handy for receiving the user-generated events: alas, the
> daemon would need to always get them, without having a user interface and
> being in focus. Is there a way to use SDL in such a fashion?
Well, I tried using inotify, the Linux kernel filesystem event monitor, on
the /dev/input/event0 and /dev/input/mice devices. I do get access events,
but cannot distinguish between modifier and normal keys, nor between mouse
cursor position events and button ones.
I really pine for the SDL detail and completeness, but in a system-wide
fashion. :-)
--
Nicola Larosa - http://www.tekNico.net/
In the '70s I was a huge fan of various bands; now I'm a huge fan
of software. I've gone from gazing at record covers to gazing at
online help files, which is a little sick, now that I think about it.
-- Wayne Lytle, March 2006
More information about the SDL
mailing list