LinHES Forums http://forum.linhes.org/ |
|
Post your lircrc? http://forum.linhes.org/viewtopic.php?f=2&t=9969 |
Page 1 of 1 |
Author: | Lem [ Mon May 08, 2006 5:22 am ] |
Post subject: | Post your lircrc? |
Could someone be kind enough to post a lircrc file that works for all Knoppmyth components. I'm having trouble with mappings for things outside the 'mythtv' program itself.. ie. xine etc. I realise I'll have to adapt it for my own remote .conf file. Thanks in advance. |
Author: | tjc [ Mon May 08, 2006 5:44 pm ] |
Post subject: | |
This one works for me, and has enough detail to be usable as a starting point. The button names match a modern /etc/lircd.conf for the Hauppage grey (cigar shaped) remote: Code: # lircrc.example.HauppaugeGrey-nativelirc
# 2003-09-17, Robert Kulagowski # mailto:rkulagow@rocketmail.com # Save this file in ~/.mythtv/lircrc begin prog = mythtv button = Power config = Esc end begin prog = mythtv button = Go # Swap the PiP windows config = N end begin prog = mythtv button = 1 config = 1 end begin prog = mythtv button = 2 config = 2 end begin prog = mythtv button = 3 config = 3 end begin prog = mythtv button = 4 config = 4 end begin prog = mythtv button = 5 config = 5 end begin prog = mythtv button = 6 config = 6 end begin prog = mythtv button = 7 config = 7 end begin prog = mythtv button = 8 config = 8 end begin prog = mythtv button = 9 config = 9 end begin prog = mythtv button = Back/Exit config = Esc end begin prog = mythtv button = 0 config = 0 end begin prog = mythtv button = Menu config = M end # Below are keys used with the Hauppauge Grey remote begin prog = mythtv # This is the Red key # We'll use it for "Delete" button = Red config = D end begin prog = mythtv # This is the Green key # We'll use it for "Information" button = Green config = I end # Note the "repeat =" strings in the volume and channel. # This means that if you hold down the key, every nth instance will be # passed. This depends on your system, so you may want to increase or # decrease this and see what happens. repeat = 1 is probably too # fast. begin prog = mythtv # This is the Yellow key # Use it as a volume key button = Yellow repeat = 3 config = F10 end begin prog = mythtv # This is the Blue key # Use it as a volume key button = Blue repeat = 3 config = F11 end begin prog = mythtv button = Ch+ # This is the "up" on the central diamond repeat = 3 config = Up end begin prog = mythtv button = Ch- # This is the "down" on the central diamond repeat = 3 config = Down end begin prog = mythtv button = Vol- # This is the "left" on the central diamond repeat = 3 config = Left end begin prog = mythtv button = Vol+ # This is the "right" on the central diamond repeat = 3 config = Right end begin prog = mythtv # Middle button on the diamond button = Ok config = Return end begin prog = mythtv button = Mute config = F9 end begin prog = mythtv # Change focus for PiP (to change channel in the other window) button = Blank config = B end begin prog = mythtv # Toggle PiP on/off button = Full config = V end begin prog = mythtv button = Rewind config = Left end begin prog = mythtv button = Play config = P end begin prog = mythtv button = Forward config = Right end begin prog = mythtv button = Record config = R end begin prog = mythtv # Teletext button = Stop config = T end begin prog = mythtv button = Pause config = P end begin prog = mythtv button = Replay # Use for backwards commercial skip config = Q end begin prog = mythtv button = Skip # Use for forward commercial skip config = Z end #MPlayer begin prog = mplayer button = Power config = quit end begin prog = mplayer button = Menu config = osd end begin prog = mplayer button = Rewind config = seek -10 repeat = 1 end begin prog = mplayer button = Forward config = seek +10 repeat = 1 end begin prog = mplayer button = Replay config = seek -60 repeat = 1 end begin prog = mplayer button = Skip config = seek +60 repeat = 1 end begin prog = mplayer button = Pause config = pause end begin prog = mplayer button = Play config = pause end begin prog = mplayer button = Back/Exit config = quit end begin prog = mplayer button = Vol+ config = volume +1 repeat = 1 end begin prog = mplayer button = Vol- config = volume -1 repeat = 1 end begin prog=mplayer button = Mute config = mute end ##XINE begin prog = xine button = Play repeat = 3 config = Play end begin prog = xine button = Stop repeat = 3 config = Stop end begin prog = xine button = Back/Exit config = Quit end begin prog = xine button = Pause repeat = 3 config = Pause end begin prog = xine button = Ch+ repeat = 4 config = EventUp end begin prog = xine button = Ch- repeat = 4 config = EventDown end begin prog = xine button = Vol- repeat = 4 config = EventLeft end begin prog = xine button = Vol+ repeat = 4 config = EventRight end begin prog = xine button = Ok repeat = 0 config = EventSelect end begin prog = xine button = Menu repeat = 0 config = Menu end #vol down begin prog = xine button = Yellow repeat = 1 config = Volume- end #vol up begin prog = xine button = Red repeat = 1 config = Volume+ end begin prog = xine button = Mute repeat = 2 config = Mute end begin prog = xine button = Forward repeat = 2 config = SeekRelative+30 end begin prog = xine button = Rewind repeat = 2 config = SeekRelative-30 end #ch up begin prog = xine button = Green repeat = 2 config = SeekRelative+60 end #ch down begin prog = xine button = Blue repeat = 2 config = SeekRelative-60 end #prev chapter begin prog = xine button = Replay repeat = 2 config = EventPrior end #next chapter begin prog = xine button = Skip repeat = 2 config = EventNext end #prev subtitle channel begin prog = xine button = Blank repeat = 2 config = SpuPrior end #next subtitle channel begin prog = xine button = Full repeat = 2 config = SpuNext end begin prog = xine button = Record repeat = 3 config = Snapshot end BTW - Cecil had a thread on remotes a couple months back that a lot of people posted that stuff to... |
Author: | Lem [ Tue May 09, 2006 1:10 am ] |
Post subject: | |
Thanks tjc.. just what I wanted! |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |