[mythtv-users] Tapping/monitoring devinput events

Greg M dargllun at googlemail.com
Tue Jun 21 06:55:30 UTC 2011


2011/6/20 Craig Huff <huffcslists at gmail.com>

> Use irexec on top of current lirc config to touch a file for any/all key
> presses and have your script test if date (-u, IIRC -- seconds since epoch)
> minus file modification date is less than "n"seconds.
>

Great idea, thanks! And it's even simpler: the monitor script runs in 30sec
intervals anyway, so I just need to check for the magic file and if it
exists, delete it and reset the idle counter.

However, my original post wasn't exact enough, I fear: because I had implied
that I also need to monitor keypresses from the keyboard, i.e. input NOT
going through lirc. That's way I originally had hoped to use Myth's system
events. Any other ideas?

Greg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.mythtv.org/pipermail/mythtv-users/attachments/20110621/dcab6426/attachment.html 


More information about the mythtv-users mailing list