# 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 = KP1
config = 1
end
begin
prog = mythtv
button = KP2
config = 2
end
begin
prog = mythtv
button = KP3
config = 3
end
begin
prog = mythtv
button = KP4
config = 4
end
begin
prog = mythtv
button = KP5
config = 5
end
begin
prog = mythtv
button = KP6
config = 6
end
begin
prog = mythtv
button = KP7
config = 7
end
begin
prog = mythtv
button = KP8
config = 8
end
begin
prog = mythtv
button = KP9
config = 9
end
begin
prog = mythtv
button = Exit
config = Esc
end
begin
prog = mythtv
button = KP0
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
# We'll use it for "Information"
button = Guide
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 = Vol-
repeat = 3
config = F10
end
begin
prog = mythtv
# This is the Blue key
# Use it as a volume key
button = Vol+
repeat = 3
config = F11
end
begin
prog = mythtv
button = Up
# This is the "up" on the central diamond
repeat = 3
config = Up
end
begin
prog = mythtv
button = Down
# This is the "down" on the central diamond
repeat = 3
config = Down
end
begin
prog = mythtv
button = Left
# This is the "left" on the central diamond
repeat = 3
config = Left
end
begin
prog = mythtv
button = Right
# 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 = PrevCh
config = B
end
begin
prog = mythtv
# Toggle PiP on/off
button = TV
# config = V
config = W
end
begin
prog = mythtv
button = Rewind
config = Left
end
begin
prog = mythtv
button = Play
config = P
end
begin
prog = mythtv
button = FastForward
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 = First
# Use for backwards commercial skip
config = Q
end
begin
prog = mythtv
button = Last
# Use for forward commercial skip
config = Z
end
begin
prog = xine
button = Stop
repeat = 3
config = Stop
end
begin
prog = xine
button = Power
repeat = 3
config = Quit
end
begin
prog = xine
button = Exit
config = Quit
end
begin
prog = xine
button = Pause
repeat = 3
config = Pause
end
begin
prog = xine
button = Up
repeat = 3
config = EventUp
end
begin
prog = xine
button = Down
repeat = 3
config = EventDown
end
begin
prog = xine
button = Left
repeat = 3
config = EventLeft
end
begin
prog = xine
button = Right
repeat = 3
config = EventRight
end
begin
prog = xine
button = OK
config = EventSelect
end
begin
prog = xine
button = Exit
config = Quit
end
begin
prog = xine
button = Menu
config = Menu
end
begin
prog = xine
button = Vol-
repeat = 3
config = Volume-
end
begin
prog = xine
button = Vol+
repeat = 3
config = Volume+
end
begin
prog = xine
button = Mute
config = Mute
end
begin
prog = xine
button = 0
config = Number0
end
begin
prog = xine
button = 1
config = Number1
end
begin
prog = xine
button = 2
config = Number2
end
begin
prog = xine
button = 3
config = Number3
end
begin
prog = xine
button = 4
config = Number4
end
begin
prog = xine
button = 5
config = Number5
end
begin
prog = xine
button = 6
config = Number6
end
begin
prog = xine
button = 7
config = Number7
end
begin
prog = xine
button = 8
config = Number8
end
begin
prog = xine
button = 9
config = Number9
end
# Seek forward 10 minutes
begin
prog = xine
button = Last
repeat = 3
config = EventNext
end
# Seek backward 10 minutes
begin
prog = xine
button = First
repeat = 3
config = EventPrior
end
begin
prog = xine
button = Rewind
repeat = 3
config = SeekRelative-30
end
begin
prog = xine
button = FastForward
repeat = 3
config = SeekRelative+30
end
begin
prog = xine
button = Guide
config = OSDStreamInfos
end
# mplayer config
begin
prog = mplayer
button = Left
config = seek -10
repeat = 1
end
begin
prog = mplayer
button = Right
config = seek +10
repeat = 1
end
begin
prog = mplayer
button = PREVIOUSSONG
config = seek -60
repeat = 1
end
begin
prog = mplayer
button = FASTFORWARD
config = seek +30
repeat = 1
end
begin
prog = mplayer
button = REWIND
config = seek -30
repeat = 1
end
begin
prog = mplayer
button = NEXTSONG
config = seek +60
repeat = 1
end
begin
prog = mplayer
button = Exit
config = quit
end
begin
prog = mplayer
button = Vol+
config = volume 1
end
begin
prog = mplayer
button = Vol-
config = volume -1
end
begin
prog = mplayer
button = Pause
config = pause
end
# end mplayer config