begin
    prog = irexec
    button = VOLUME+
    config = irsend SEND_ONCE VideoLogic Vol.up 
    repeat = 1
end

begin
    prog = irexec
    button = VOLUME-
    config = irsend SEND_ONCE VideoLogic Vol.down
    repeat = 1    
end

begin
    prog = irexec
    button = MUTE
    config = irsend SEND_ONCE VideoLogic Mute
end

begin
    prog = irexec
    button = STANDBY
    config = /home/markus/c++/VideologicAmp toggle
end
	    

begin
    prog = irxevent
    button = 7
    config = Key Alt_L-Tab RootWindow
end

begin
    prog = irexec
    button = 1
#    config = killall -19 crack-attack
    config = killall xmms
end

begin
    prog = irexec
    button = 2
#    config = killall -18 crack-attack
    config = killall mplayer
end

begin
    prog = irexec
    button = 3
    config = sudo shutdown -r now
end

begin
  prog   = irexec
  button = CANCEL
  config = irsend SEND_START VideoLogic Vol.down; sleep 1; irsend SEND_STOP VideoLogic Vol.down
end
	
begin
  prog   = irexec
  button = 0
  config = irsend SEND_START VideoLogic Vol.up; sleep 1; irsend SEND_STOP VideoLogic Vol.up 
end
	
begin
  prog   = irexec
  button = MEMO
  config = sudo /home/markus/c++/VideologicAmp toggle
#  config = konqueror --profile irrc &
#  mode = konqueror
end


#begin konqueror   
   begin
        prog = irxevent
        button = 2
        config = Key Up CurrentWindow
        repeat = 1        
    end
    
#    begin
#        prog = irxevent
#        button = 
#        config = Key Down CurrentWindow
#        repeat = 1        
#    end
    
    begin
        prog = irxevent
        button = 6
        config = Key Return CurrentWindow
    end
    
    begin
        prog = irxevent
        button = 4
        config = Key BackSpace CurrentWindow
    end
#end konqueror

begin
  prog   = irexec
  button = OPEN/CLOSE
  config = /home/markus/at.killallXmms.sh
end

# xmms im Hintergrund starten und in xmms mode wechseln
begin
    prog = irexec
    button = RANDOM
    config = /usr/bin/xmms '\''/data1/chill out/- Chill.out.m3u'\'' &
    mode = xmms
end 

begin
  prog   = irexec
  button = FTS1
  config = sudo /home/markus/c++/para 8 toggle
end

begin
  prog   = irexec
  button = P.MODE
  config = sudo /home/markus/c++/kosi &
end

begin
  prog   = irexec
  button = RECALL
  config = sudo /home/markus/c++/kaffee gross &
end



 

# XMMS-Funktionen: PLAY, STOP, PAUSE, PLAYPAUSE, NEXT [], PREV [], SHUFFLE, REPEAT, FWD [], BWD [], 
# VOL_UP [], VOL_DOWN [], BAL_RIGHT [], BAL_CENTER, PLAYLIST_ADD und PLAYLIST_CLEAR 
begin xmms
    begin
      prog = xmms
      button = DISPLAY
      config = QUIT
    end 
    
    begin
      prog   = xmms
      button = PLAY
      config = PLAY
    end
    
    begin
      prog   = xmms
      button = STOP
      config = STOP
    end
    
    begin
      prog   = xmms
      button = PAUSE
      config = PAUSE
    end
    
    begin
      prog   = xmms
      button = NEXT
      config = NEXT
    end
    
    begin
      prog   = xmms
      button = PREV
      config = PREV
    end
    
    begin
      prog   = xmms
      button = REPEAT
      config = REPEAT
    end
     
    begin
      prog = xmms
      button = FWD
      config = FWD
      repeat = 1
    end  
    
    begin
      prog = xmms
      button = BWD
      config = BWD
      repeat = 1
    end  
    
    begin
      prog = xmms
      button = A-B
      config = VOL_DOWN
      repeat = 1
    end  
    
    begin
      prog = xmms
      button = FAST
      config = VOL_UP
      repeat = 1
    end  
    
#    begin
#      prog = xmms
#      button = CANCEL
#      config = SHUFFLE
#    end  
    
#    begin
#      prog = xmms
#      button = MEMO
#      config = REPEAT
#    end      
    
    begin
      prog = xmms
      button = 8
      config = PLAYLIST_CLEAR
    end      
    
    begin
      prog = xmms
      button = 1
      config = PLAYLIST_ADD /data1/chill\ out/-\ Chill.out.Xmms.optimized.m3u
    end      
    
    begin
      prog = xmms
      button = 2
      config = PLAYLIST_ADD /home/markus/.xmms/wakeUp.m3u
    end      
           
end xmms


# in mplayer mode wechseln
begin
    prog = irexec
    button = EDIT
    mode = mplayer
end 

begin mplayer
    begin
        prog = mplayer
        button = DISPLAY
        config = quit
    end
    
    begin
        prog = irexec
        button = A-B
            # config = volume -1
        config = aumix -w -3
        repeat = 1
        mode   = mplayer
    end
    
    begin
        prog = irexec
        button = FAST
        config = aumix -w +3
        repeat = 1
        mode   = mplayer
    end
    
    begin
        prog = mplayer
        button = PAUSE
        config = pause
    end
    
    begin
        prog = mplayer
        button = FWD
        config = seek 3
        repeat = 1
    end
    
    begin
        prog = mplayer
        button = BWD
        config = seek -3
        repeat = 1        
    end
    
    begin
        prog = mplayer
        button = NEXT
        config = seek 60
        repeat = 1        
    end
    
    begin
        prog = mplayer
        button = PREV
        config = seek -60
        repeat = 1
    end
    
#    begin
#        prog = mplayer
#        button = CANCEL
#        config = seek -180
#        repeat = 1        
#    end
    
#    begin
#        prog = mplayer
#        button = MEMO
#        config = seek 180
#        repeat = 1
#    end
         
    begin
        prog = mplayer
        button = REPEAT
        config = osd
        repeat = 1
    end
    
    begin
        prog = mplayer
        button = PLAY
        config = vo_fullscreen
    end
    
     begin
        prog = mplayer
        button = STOP
        config = pause
    end

end mplayer