# edit the "button =" part for each entry according to your remote, and stick
# this stuff in ~/.lircrc

begin
	prog = Totem
	remote = *
	button = KEY_PLAY
	repeat = 1
	config = play
end

begin
	prog = Totem
	remote = *
	button = KEY_PAUSE
	repeat = 0
	config = pause
end

begin
	prog = Totem
	remote = *
	button = KEY_STOP
	repeat = 0
	config = stop
end

# For seek_forward and seek_backward you can
# append ":20" to seek 20 seconds in the
# aforementioned direction
#
# Eg. seek_forward:60 -> seek forward 60 seconds
# seek_backward:5 -> seek backwards 5 seconds
begin
	prog = Totem
	remote = *
	button = KEY_FASTFORWARD
	repeat = 1
	config = seek_forward
end

begin
	prog = Totem
	remote = *
	button = KEY_FORWARD
	repeat = 1
	config = seek_forward
end

begin
	prog = Totem
	remote = *
	button = KEY_REWIND
	repeat = 1
	config = seek_backward
end

# FIXME
#begin
#	prog = Totem
#	remote = *
#	button = YOUR_BUTTON
#	repeat = 1
#	config = fullscreen
#end

begin
	prog = Totem
	remote = *
	button = KEY_VOLUMEUP
	repeat = 1
	config = volume_up
end


begin
	prog = Totem
	remote = *
	button = KEY_VOLUMEDOWN
	repeat = 1
	config = volume_down
end


begin
	prog = Totem
	remote = *
	button = KEY_NEXT
	repeat = 1
	config = next
end

begin
	prog = Totem
	remote = *
	button = KEY_PREVIOUS
	repeat = 1
	config = previous
end

begin
	prog = Totem
	remote = *
	button = KEY_EXIT
	repeat = 1
	config = quit
end

begin
	prog = Totem
	remote = *
	button = KEY_UP
	repeat = 1
	config = up
end

begin
	prog = Totem
	remote = *
	button = KEY_DOWN
	repeat = 1
	config = down
end

begin
	prog = Totem
	remote = *
	button = KEY_LEFT
	repeat = 1
	config = left
end

begin
	prog = Totem
	remote = *
	button = KEY_RIGHT
	repeat = 1
	config = right
end

begin
	prog = Totem
	remote = *
	button = KEY_SELECT
	repeat = 1
	config = select
end

begin
	prog = Totem
	remote = *
	button = KEY_OK
	repeat = 1
	config = select
end

begin
	prog = Totem
	remote = *
	button = KEY_MENU
	repeat = 1
	config = menu
end

begin
	prog = Totem
	remote = *
	button = KEY_PLAYPAUSE
	repeat = 1
	config = play_pause
end

begin
	prog = Totem
	remote = *
	button = KEY_SELECT
	repeat = 1
	config = select
end

begin
	prog = Totem
	remote = *
	button = KEY_EJECTCD
	repeat = 1
	config = eject
end

begin
	prog = Totem
	remote = *
	button = KEY_DVD
	repeat = 1
	config = play_dvd
end

begin
	prog = Totem
	remote = *
	button = KEY_MUTE
	repeat = 1
	config = mute
end

begin
	prog = Totem
	remote = *
	button = KEY_SHUFFLE
	repeat = 1
	config = setting_shuffle
end

begin
	prog = Totem
	remote = *
	button = KEY_MEDIA_REPEAT
	repeat = 1
	config = setting_repeat
end

begin
	prog = Totem
	remote = *
	button = KEY_ZOOMIN
	repeat = 1
	config = zoom_up
end

begin
	prog = Totem
	remote = *
	button = KEY_ZOOMOUT
	repeat = 1
	config = zoom_down
end

