begin
   prog = mplayer
   button = TV_DOWN
   config = run /usr/bin/tvswitch
end
begin
   prog = mplayer
   button = MENU_DOWN
   config = pause
end
begin
   prog = mplayer
   button = STOP_DOWN
   config = quit
end
begin
   prog = mplayer
   button = MUTE_DOWN
   config = mute
end
begin
   prog = mplayer
   button = 1_DOWN
   repeat = 1
   config = seek -120
end
begin
   prog = mplayer
   button = 3_DOWN
   repeat = 1
   config = seek 120
end
begin
   prog = mplayer
   button = REWIND_DOWN
   repeat = 1
   config = seek -10
end
begin
   prog = mplayer
   button = FORWARD_DOWN
   repeat = 1
   config = seek 10
end
begin
   prog = mplayer
   button = VOLUME_DOWN_DOWN
   repeat = 1
   config = volume -1
end
begin
   prog = mplayer
   button = VOLUME_UP_DOWN
   repeat = 1
   config = volume 1
end
begin
   prog = mplayer
   button = BLUE_BUTTON_DOWN
   config = osd
end
begin
   prog = mplayer
   button = POWER_DOWN
   config = quit 166
end
begin
   prog = mplayer
   button = RED_BUTTON_DOWN
   config = menu toggle
end
begin
   prog = mplayer
   button = GREEN_BUTTON_DOWN
   config = set_menu open_file
end
begin
   prog = mplayer
   button = LEFT_MOUSE_BUTTON_TOUCH_DOWN
   config = menu ok
end
begin
   prog = mplayer
   button = MOUSE_S
   repeat = 0
   config = menu cancel
end
begin
   prog = mplayer
   button = LEFT_MOUSE_BUTTON_DOWN
   config = menu up
end
begin
   prog = mplayer
   button = RIGHT_MOUSE_BUTTON_DOWN
   config = menu down
end
