[mythtv-users] How to send alphabetic letters from IR remote number pad?

Johnny Walker johnnyjboss at gmail.com
Thu Jul 8 19:00:16 UTC 2010


On Thu, Jul 8, 2010 at 11:39 AM, David Lasker <dave at altosdesign.com> wrote:
> Sorry Wayne, that doesn't work. Every 4th button press outputs a "c", but I
> am unable to get "b", "a", or "0" to be output.
>
> Thanks...
>
> Dave
>
> -----Original Message-----
> Have you tried it like this instead?
>
> begin
> remote = Hauppauge_350
> prog = irexec
> button = 2
> button = 2
> button = 2
> button = 2
> config = c
> delay = 2
> flags = quit
> end
>
> begin
> remote = Hauppauge_350
> prog = irexec
> button = 2
> button = 2
> button = 2
> config = b
> delay = 2
> flags = quit
> end
>
> begin
> remote = Hauppauge_350
> prog = irexec
> button = 2
> button = 2
> config = a
> delay = 2
> flags = quit
> end
>
> begin
> remote = Hauppauge_350
> prog = irexec
> button = 2
> config = 2
> repeat = 0
> delay = 0
> end
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>

I'm not clear on why the stanza's would need to have repeat "button =
blah" statements in them.

As you want mythtv to take action on these commands you need not involve irexec.

The following stanz tells my mythtv program to react as if it received
a '0' when I hit '0'.

begin
    remote = Hauppauge_350
    prog = mythtv
    button = 0
    config = 0
    repeat = 0
    delay = 0
end

To modify that so mythtv receives an 'A' instead would be as follows:

begin
    remote = Hauppauge_350
    prog = mythtv
    button = 0
    config = A
    repeat = 0
    delay = 0
end

Irexec is used to do other things outside of mythtv such as launch a
shell script.

Remember if you have 2 or more stanza's for any programs with a
'button=0' then each instance of them will be processed anytime you
hit 0.

-JohnnyJ


More information about the mythtv-users mailing list