# lircrc
# lircrc configuration file for X-10 Lola remote for use with MythTV
# for use with keymapping at http://wendy.seltzer.org/mythtv/lircd.conf
# common keymappings from the keys.txt suggestions
# 
# This file is public domain.  No rights reserved.
 
###number keys
begin
	prog = mythtv
	button = 0
	config =  0 
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 = 0
	config =  0 
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

##arrows
begin
	prog = mythtv
	button = play
	config =  Space 
end

### arrows with the multibutton
begin
	prog = mythtv
	button = eu
	config =  Up 
end
begin
	prog = mythtv
	button = ed
	config =  Down 
end
begin
	prog = mythtv
	button = el
	config =  Left 
end
begin
	prog = mythtv
	button = er
	config =  Right 
end
begin
	prog = mythtv
	button = enter
	config =  Space 
end
begin
	prog = mythtv
	button = stop
	config =  Escape 
end
begin
	prog = mythtv
	button = alb
	config =  m 
end
begin
	prog = mythtv
	button = art
	config =  e 
end
begin
	prog = mythtv
	button = gen
	config =  i 
end
begin
	prog = mythtv
	button = trk
	config =  y 
end
begin
	prog = mythtv
	button = rec
	config =  r 
end

begin
	prog = mythtv
	button = pause
	config = p
end

begin
	prog = mythtv
	button = T
	config = t
end

begin 
	prog = mythtv
	button = E
	config = u
end

begin
	prog = mythtv
	button = S
	config = a
end

begin
	prog = mythtv
	button = F
	config = +
end

begin
	prog = mythtv
	button = playing
	config = s
end

begin
	prog=mythtv
	button = playlist
	config = w
end

begin
	prog = mythtv
	button = a-d
	config = d
end

begin
	prog = mythtv
	button = a-b
	config = b
end
##Volume (with pageup)
begin
	prog=mythtv
	button = pageup
	config = Page Up
end
begin
        prog=mythtv
	button = pagedown
	config = Page Down
end

begin
	prog=mythtv
	button = ch+
	config = ]
end

begin
	prog=mythtv
	button = ch-
	config = [
end

begin
	prog=mythtv
	button = vol-
	config = q
end

begin
	prog=mythtv
	button = vol+
	config = z
end	

begin
	prog=mythtv
	button = ff
	config = >
end

begin 
	prog=mythtv
	button = rew
	config = <
end

begin
	prog=mythtv
	button = scan+
	config = }
end

begin
	prog=mythtv
	button = scan-
	config = {
end


##mplayer
### MPlayer lirc setup

# Show OSD
begin
prog = mplayer
button = alb
repeat = 3
config = osd
end

# Pause playback
begin
prog = mplayer
button = pause
repeat = 3
config = pause
end

# Skip ahead a minute if playing
# If paused, resume playing
begin
prog = mplayer
button = play
repeat = 3
config = seek +1
end

# Stop playback and exit
begin
prog = mplayer
button = stop
repeat = 3
config = quit
end

# Mute
begin
prog = mplayer
button = 
repeat = 3
config = mute
end

# Seek back 10 seconds
begin
prog = mplayer
button = rew
repeat = 3
config = seek -10
end

# Seek forward 30 seconds
begin
prog = mplayer
button = ff
repeat = 3
config = seek +30
end

# Quit
begin
prog = mplayer
button = E
repeat = 3
config = quit
end

# Seek forward 10 minutes
begin
prog = mplayer
button = vol+
repeat = 3
config = seek +600
end

# Seek backward 10 minutes
begin
prog = mplayer
button = vol-
repeat = 3
config = seek -600
end

# Toggle full-screen
begin
prog = mplayer
button = playlist
repeat = 3
config = vo_fullscreen
end

