rendered paste body#
# lircrc config file for the Microsoft Media Center Edition Remote, model 1039
#
# @url $URL$
# @date $Date: 2006-06-12 01:18:38 -0400 (Mon, 12 Jun 2006) $
# @version $Revision: 10187 $
# @author $Author: xris $
#
# This file is intended to complement the lircd.conf.mceusb file included with
# lirc 0.8 and above.
#
# Save this file in ~/.mythtv/lircrc
#
# You will also need to make a few changes to the MythTV key bindings and jump
# points as follows.
#
# Jump Points:
#
# TV Recording Playback: Alt+R
# Program Guide: Alt+G
# Live TV: Alt+P
# MythVideo -> The MythVideo default view: Alt+V
# Main Menu: Alt+Home
#
# Key Bindings:
#
# TV Playback -> CHANNELDOWN: Down,PgDown
# TV Playback -> CHANNELUP: Up,PgUp
# TV Playback -> JUMPRWND: Shift+PgUp
# TV Playback -> JUMPFFWD: Shift+PgDown
#
#
# Program Navigation
#
begin
prog = mythtv
button = cpf
config = Alt+Home
repeat = 1
delay = 1
end
#begin
# prog = mythtv
# button = rec
# config = Alt+R
#end
## Alt+G jumps to big guide
begin
prog = mythtv
button = guide
config = S
repeat = 1
delay = 1
end
begin
prog = mythtv
button = live
config = Alt+P
repeat = 1
delay = 1
end
begin
prog = mythtv
button = folder
config = Alt+W
repeat = 1
delay = 1
end
begin
prog = mythtv
button = dvd
config = Alt+D
repeat = 1
delay = 1
end
begin
prog = mythtv
button = dtv
config = Alt+V
repeat = 1
delay = 1
end
begin
prog = mythtv
button = mp3
config = Alt+M
repeat = 1
delay = 1
end
begin
prog = mythtv
button = tv_onoff
config = Alt+N
repeat = 1
delay = 1
end
#
# Menu Navigation
#
begin
prog = mythtv
button = back
config = Esc
repeat = 1
delay = 1
end
begin
prog = mythtv
button = ok
config = Space
repeat = 2
delay = 1
end
begin
prog = mythtv
button = more
config = I
repeat = 2
delay = 1
end
begin
prog = mythtv
button = left
config = Left
repeat = 2
delay = 1
end
begin
prog = mythtv
button = right
config = Right
repeat = 2
delay = 1
end
begin
prog = mythtv
button = up
config = Up
repeat = 2
delay = 1
end
begin
prog = mythtv
button = down
config = Down
repeat = 2
delay = 1
end
#
# TV Control
#
#begin
# prog = mythtv
# button = vol_down
# config = F10
#end
#begin
# prog = mythtv
# button = vol_up
# config = F11
#end
#begin
# prog = mythtv
# button = mute
# config = F9
#end
begin
prog = mythtv
button = ch_down
config = PgDown
repeat = 2
delay = 1
end
begin
prog = mythtv
button = ch_up
config = PgUp
repeat = 2
delay = 1
end
#
# Video Navigation
#
begin
prog = mythtv
button = playpause
config = P
repeat = 2
delay = 1
end
begin
prog = mythtv
button = mute
config = P
repeat = 2
delay = 1
end
begin
prog = mythtv
button = vol_up
config = Alt+R
repeat = 2
delay = 1
end
begin
prog = mythtv
button = stop
config = Esc
repeat = 2
delay = 1
end
begin
prog = mythtv
button = ff
config = >
repeat = 2
delay = 1
end
begin
prog = mythtv
button = rew
config = <
repeat = 2
delay = 1
end
begin
prog = mythtv
button = replay
config = Q
repeat = 2
delay = 1
end
begin
prog = mythtv
button = skip
config = Z
repeat = 2
delay = 1
end
begin
prog = mythtv
button = rec
config = R
repeat = 2
delay = 1
end
#
# Miscellaneous
#
# M for Menu
begin
prog = mythtv
button = dvd_menu
config = M
repeat = 2
delay = 1
end
#begin
# prog = mythtv
# button = Hash
# config = M
#end
begin
prog = mythtv
button = alt_tab
config = Esc
repeat = 2
delay = 1
end
begin
prog = mythtv
button = start
config = Space
repeat = 2
delay = 1
end
#
# Numbers
#
begin
prog = mythtv
button = 0
config = 0
repeat = 2
delay = 1
end
begin
prog = mythtv
button = 1
config = 1
repeat = 2
delay = 1
end
begin
prog = mythtv
button = 2
config = 2
repeat = 2
delay = 1
end
begin
prog = mythtv
button = 3
config = 3
repeat = 2
delay = 1
end
begin
prog = mythtv
button = 4
config = 4
repeat = 2
delay = 1
end
begin
prog = mythtv
button = 5
config = 5
repeat = 2
delay = 1
end
begin
prog = mythtv
button = 6
config = 6
repeat = 2
delay = 1
end
begin
prog = mythtv
button = 7
config = 7
repeat = 2
delay = 1
end
begin
prog = mythtv
button = 8
config = 8
repeat = 2
delay = 1
end
begin
prog = mythtv
button = 9
config = 9
repeat = 2
delay = 1
end
### custom jmf/smf (why not? .. no.)
begin
prog = mythtv
button = ratio
config = W
repeat = 2
delay = 1
end
## external
begin
prog = irexec
button = photo
config = /home/mythtv/swapdisplay.sh
repeat = 2
delay = 1
end
begin
prog = irexec
button = setup
config = /home/mythtv/killmyth.sh
repeat = 2
delay = 1
end
### MPlayer lirc setup
begin
prog = mplayer
button = power_onoff
config = sub_visibility
repeat = 2
delay = 1
end
#begin
#prog = mplayer
#button = aspect
#config = panscan -0.1
#end
#begin
#prog = mplayer
#button = zoom
#config = panscan +0.1
#end
# Show OSD
begin
prog = mplayer
button = more
config = osd
repeat = 2
delay = 1
end
# Pause playback
begin
prog = mplayer
button = playpause
config = pause
repeat = 2
delay = 1
end
# Skip ahead a minute if playing
# If paused, resume playing
begin
prog = mplayer
button = mute
config = seek +01
repeat = 2
delay = 1
end
# Stop playback and exit
begin
prog = mplayer
button = stop
config = quit
repeat = 2
delay = 1
end
# Mute
#begin
#prog = mplayer
#button = mute
#
#config = mute
#end
begin
prog = mplayer
button = left
config = seek -10
repeat = 2
delay = 1
end
begin
prog = mplayer
button = rew
config = seek -30
repeat = 2
delay = 1
end
begin
prog = mplayer
button = down
config = seek -90
repeat = 2
delay = 1
end
begin
prog = mplayer
button = ch_down
config = seek -400
repeat = 2
delay = 1
end
begin
prog = mplayer
button = replay
config = seek -900
repeat = 2
delay = 1
end
## ff
begin
prog = mplayer
button = right
config = seek +10
repeat = 2
delay = 1
end
begin
prog = mplayer
button = ff
config = seek +30
repeat = 2
delay = 1
end
begin
prog = mplayer
button = up
config = seek +90
repeat = 2
delay = 1
end
begin
prog = mplayer
button = ch_up
config = seek +400
repeat = 2
delay = 1
end
begin
prog = mplayer
button = skip
config = seek +900
repeat = 2
delay = 1
end
# Quit
begin
prog = mplayer
button = back
config = quit
repeat = 2
delay = 1
end
# Toggle full-screen
begin
prog = mplayer
button = zoom
config = vo_fullscreen
repeat = 2
delay = 1
end
### Xine lirc setup
begin
prog = xine
button = ratio
config = ToggleAspectRatio
repeat = 2
delay = 1
end
begin
prog = xine
button = mute
config = Play
repeat = 2
delay = 1
end
begin
prog = xine
button = stop
config = Stop
repeat = 2
delay = 1
end
begin
prog = xine
button = playpause
config = Pause
repeat = 2
delay = 1
end
begin
prog = xine
button = up
config = EventUp
repeat = 2
delay = 1
end
begin
prog = xine
button = down
config = EventDown
repeat = 2
delay = 1
end
begin
prog = xine
button = left
config = EventLeft
repeat = 2
delay = 1
end
begin
prog = xine
button = right
config = EventRight
repeat = 2
delay = 1
end
begin
prog = xine
button = ok
config = EventSelect
repeat = 2
delay = 1
end
begin
prog = xine
button = dvd_menu
config = Menu
repeat = 2
delay = 1
end
begin
prog = xine
button = ff
#config = SpeedFaster
config = SeekRelative+60
repeat = 1
delay = 1
end
begin
prog = xine
button = rew
#config = SpeedSlower
config = SeekRelative-60
repeat = 1
delay = 1
end
#begin
#prog = xine
#button = FULL
#config = Volume+
#end
#begin
#prog = xine
#button = BLANK
#config = Volume-
#end
#begin
#prog = xine
#button = MUTE
#config = Mute
#end
begin
prog = xine
button = dvd
config = RootMenu
repeat = 2
delay = 1
end
begin
prog = xine
button = skip
config = EventNext
repeat = 2
delay = 1
end
begin
prog = xine
button = replay
config = EventPrior
repeat = 2
delay = 1
end
begin
prog = xine
button = more
config = OSDStreamInfos
repeat = 2
delay = 1
end
begin
prog = xine
button = cpf
config = Quit
repeat = 2
delay = 1
end
begin
prog = xine
button = live
config = Quit
repeat = 2
delay = 1
end
begin
prog = xine
button = 0
config = Number0
repeat = 2
delay = 1
end
begin
prog = xine
button = 1
config = Number1
repeat = 2
delay = 1
end
begin
prog = xine
button = 2
config = Number2
repeat = 2
delay = 1
end
begin
prog = xine
button = 3
config = Number3
repeat = 2
delay = 1
end
begin
prog = xine
button = 4
config = Number4
repeat = 2
delay = 1
end
begin
prog = xine
button = 5
config = Number5
repeat = 2
delay = 1
end
begin
prog = xine
button = 6
config = Number6
repeat = 2
delay = 1
end
begin
prog = xine
button = 7
config = Number7
repeat = 2
delay = 1
end
begin
prog = xine
button = 8
config = Number8
repeat = 2
delay = 1
end
begin
prog = xine
button = 9
config = Number9
repeat = 2
delay = 1
end
# Xine Keys:
#
# VPProcessEnable
# VPProcessShow
# SubSelector
# SubpictureMenu
# RootMenu
# TitleMenu
# AngleMenu
# PartMenu
# EventUp/Down/Left/Right
# Menu
# SpuVideoDecay-/+
# AudioVideoDecay-/+/Reset
# MrlBrowser
# Number10add
# Number1-9
# SetPosition10%-90%
# Eject
# ToggleInterleave
# StreamInfosShow
# OSDStreamInfos
# ToggleVisibility
# Pause
# ToggleAspectRatio
# AudioChannelNext/Prior
# ControlShow
# SpuPrior
# SpuNext
# NextMrl/PriorMrl
# subtitles
begin
prog = xine
button = power_onoff
config = SpuNext
repeat = 2
delay = 1
end