# David Backeberg # ~/.lircrc # Last modified 30 November 2005 12:34 EST # http://www-math.mit.edu/~dave/mythtv # I have a Hauppage PVR-250, with the gray remote. This is my ~/.lircrc, # which I've hacked together from sources including # http://www.ncaabbs.com/html/lug-config-gts-lircrc.txt # The items FOLLOWING the mythtv setup are somewhat from the aforementioned # source. # I got a tip about mplayer from http://patrick.wagstrom.net/old/misc/dotlircrc # other sources I've forgotten, but the repeat rates for the forward / rewind # buttons are mine. I set mythtv to have a 15 sec forward jump and a 5 sec # backward jump. Please email me if I need to give credit to somebody I've not # yet acknowledged begin prog = konsole button = Go repeat = 3 config = mythfrontend end begin prog = mythtv button = Off config = Esc 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 = 2 config = F10 end begin prog = mythtv # This is the Blue key # Use it as a volume key button = Blue repeat = 2 config = F11 end begin prog = mythtv button = Ch+ # This is the "up" on the central diamond repeat = 2 config = Up end begin prog = mythtv button = Ch- # This is the "down" on the central diamond repeat = 2 config = Down end begin prog = mythtv button = Vol- # This is the "left" on the central diamond repeat = 2 config = Left end begin prog = mythtv button = Vol+ # This is the "right" on the central diamond repeat = 2 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 = Rew config = Left end begin prog = mythtv button = Play config = P end begin prog = mythtv button = FFW 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 Config =========================================================== # -------------------------------------------------------------------------------- begin prog = mplayer button = Back/Exit config = q end begin prog = mplayer button = Menu config = q end begin prog = mplayer button = Mute config = m end begin prog = mplayer # Toggle whether to show subtitles button = Blank config = v end begin prog = mplayer # This is the Green key # We'll use it for "Information" button = Green config = o end begin prog = mplayer # This is the Yellow key # Use it as a volume key button = Yellow repeat = 2 # config = / # the / sometimes doesn't work config = volume -1 end begin prog = mplayer # This is the Blue key # Use it as a volume key button = Blue repeat = 2 # config = * # the * sometimes doesn't work config = volume 1 end begin prog = mplayer button = PAUSE config = pause end begin prog = mplayer button = REPLAY config = seek -60 repeat = 2 end begin prog = mplayer button = SKIP config = seek +60 repeat = 2 end begin prog = mplayer button = Ch+ # This is the "up" on the central diamond repeat = 2 config = seek +600 end begin prog = mplayer button = Ch- # This is the "down" on the central diamond repeat = 2 config = seek -600 end begin prog = mplayer button = Vol- # This is the "left" on the central diamond repeat = 2 config = seek -10 end begin prog = mplayer button = Vol+ # This is the "right" on the central diamond repeat = 2 config = seek +10 end # -------------------------------------------------------------------------------- # ===== XMMS Config ============================================================== # -------------------------------------------------------------------------------- begin button = SKIP prog = xmms config = next end begin button = PLAY prog = xmms config = play end begin button = REPLAY prog = xmms config = prev end begin button = PAUSE prog = xmms config = pause end begin button = STOP prog = xmms config = stop end begin button = VOL+ prog = xmms config = vol_up 1 repeat = 1 end begin button = VOL- prog = xmms config = vol_down 1 repeat = 1 end begin button = FWD prog = xmms config = fwd 5 repeat = 1 end begin button = REW prog = xmms config = bwd 5 repeat = 1 end begin button = MUTE prog = xmms config = mute end begin button = OFF prog = xmms config = quit end