[mythtv-users] Changing the function of butons on the remote

Patrick Reynolds reynolds at cs.duke.edu
Thu Mar 4 10:09:09 EST 2004


On Wed, 3 Mar 2004, stan wrote:

> Now a question. How can I change the function of some of the buttons on my
> Gray PVR-350 remote? I want for example the volume up, and volume down
> buttons to do what they say :-). Presently they move you forward and
> backward in the image stream?

Edit your .lircrc.  Look for a block like
  begin
    prog = irxevent
    button = volume_down
    config = Key Prior CurrentWindow
  end
The "volume_down" and "Prior" might be not exactly those values...  You
should just change the config to send a different key.  F10 is volume
down, F11 is volume up, and F9 is mute.  So:
    config = Key F10 CurrentWindow

If there isn't a "repeat = <N>" line in the vol up/down blocks, you might
want to add one.  I have "repeat = 1," but that may depend on your remote.

> And is there a tool I can run to detect what a given button sends?

irw.  That will tell you which string to look for in the "button =" line
if it's not "volume_down."

--Patrick


More information about the mythtv-users mailing list