[mythtv-users] lircrc config - combination keys.

Tom Walsh tom at openhardware.net
Sun Oct 31 18:37:01 UTC 2004


Prash wrote:

>I've been trying to find out if I can get lirc to respond on
>combination keys OR key press for a few seconds ( say poweroff if OFF
>button is pressed for 5 sec). Anyone know if this is possible with
>lirc.
>
>I've started irexec and added config for poweroff and reboot like 
>
>begin
> prog = irexec
> button = OFF
> repeat = 0
> config = /usr/bin/mythctrl poweroff &
>end
>
>
>What I want to do is 
>        - OFF pressed for 5 sec then only poweroff
>         OR
>        - OFF and GO pressed together then poweroff
>
>
>Any thoughts?
>
>  
>

Yes, basically you are not going to get a two-button keypress sequence 
out of a remote control.  These are simple devices.  If you want to do 
something like that then you need a keyboard (like an IR / Bluetooth model).


TomW

>TIA
>Prash
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>mythtv-users mailing list
>mythtv-users at mythtv.org
>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>  
>


-- 
Tom Walsh - WN3L - Embedded Systems Consultant
http://openhardware.net, http://cyberiansoftware.com
"Windows? No thanks, I have work to do..."
----------------------------------------------------




More information about the mythtv-users mailing list