#
# defaults:
#
# remote = *
# repeat = 0
#
#
#

begin
        button = MENU
        mode = mouse
end

begin
        prog = xirw
        button = MENU
        config = Mouse aktivieren
end

begin
        prog = irexec
        button = 1
        button = 2
        button = 3
        button = 1
        button = 2
        button = 3
        button = 4
        config = echo "secret code"
end
begin
        prog = xirw
        button = 1
        button = 2
        button = 3
        button = 1
        button = 2
        button = 3
        button = 4
        config = psssst, secret
end

begin
        prog = irexec
        button = VOL_UP
        config = mix vb+5 >/dev/null
end
begin
        prog=xirw
        button = VOL_UP
        config = Lautstärke +
end

begin
        prog = irexec
        button = VOL_DOWN
        config = mix vb-5 >/dev/null
end
begin
        prog=xirw
        button = VOL_DOWN
        config = Lautstärke -
end

begin
        prog = irexec
        button = TV/R
        config = xawtv  -geometry +754+0 >/dev/null&
        mode = tv
        flags= once
end
begin
        prog=xirw
        button = TV/R
        config = Moduswechsel
end
begin
        prog = irexec
        button = A/B
        config = kscd -geometry +60+600&
        mode = cd
        flags = once
end
begin
        prog=xirw
        button = A/B
        config = Moduswechsel
end
begin
        prog = irexec
        button = BACK
        mode = system
end
begin
        prog=xirw
        button = BACK
        config = Moduswechsel
end

begin tv

        begin
                prog = irxevent
                button = 0
                config = Key f xawtv
                config = Key f xawtv
        end
        begin
                prog = xirw
                button = 0
                config = Vollbild an
                config = Vollbild aus
        end
        begin
                prog = irxevent
                button = POWER
                config = Key Escape xawtv
        end
        begin
                prog = xirw
                button = POWER
                config = TV beenden
                flags = mode
        end
end tv

begin cd
        begin
                prog = irxevent
                button = OK
                config = Button 1 51 31 kscd
        end
        begin
                prog = xirw
                button = OK
                config = Display
        end
        begin
                prog = irxevent
                button = CH_UP
                config = Button 1 376 92 kscd
        end
        begin
                prog = xirw
                button = CH_UP
                config = Nächster Titel
        end
        begin
                prog = irxevent
                button = CH_DOWN
                config = Button 1 329 92 kscd
        end
        begin
                prog = xirw
                button = CH_DOWN
                config = Vorheriger Titel
        end
        begin
                prog = irxevent
                button = ARROW_DOWN
                config = Button 1  70 70 kscd
        end
        begin
                prog = xirw
                button = ARROW_DOWN
                config = Eject
        end
        begin
                prog = irxevent
                button = ARROW_UP
                config = Button 1 360 13 kscd
        end
        begin
                prog = xirw
                button = ARROW_UP
                config = Play
                config = Pause
        end
        begin
                prog = irxevent
                button = ARROW_RIGHT
                config = Button 1 370 63 kscd
        end
        begin
                prog = xirw
                button = ARROW_RIGHT
                config = FWD
        end
        begin
                prog = irxevent
                button = ARROW_LEFT
                config = Button 1 332 69 kscd
        end
        begin
                prog = xirw
                button = ARROW_LEFT
                config = BCK
        end
        begin
                prog = irxevent
                button = MUTE
                config = Button 1 338 43 kscd
        end
        begin
                prog = xirw
                button = MUTE
                config = Stop
        end
        begin
                prog = irxevent
                button = POWER
                config = Button 1  51 92 kscd
        end
        begin
                prog = xirw
                button = POWER
                config = CD beenden
                flags = mode
        end
        begin
                prog = irxevent
                button = 0
                config = Button 1 379 45 kscd
        end
        begin
                prog = xirw
                button = 0
                config = Loop
        end
        begin
                prog = irxevent
                button = LIST
                config = Button 1 160 99 kscd
        end
        begin
                prog = xirw
                button = LIST
                config = Random
        end

end cd

begin system
        begin
                prog = irexec
                button = POWER
                config = xset dpms force off
                config = xset dpms force on
        end
        begin
                prog = xirw
                button = POWER
                config = Bildschirm abschalten
                config = Bildschirm anschalten
        end
        begin
                prog = irexec
                button = MUTE
                config = sync;hdparm -y /dev/hda >/dev/null
        end
        begin
                prog = xirw
                button = MUTE
                config = Festplatten abschalten
        end
        begin
                prog = irexec
                button = CH_UP
                config = xvidtune -next
        end
        begin
                prog = xirw
                button = CH_UP
                config = Auflösung +
        end
        begin
                prog = irexec
                button = CH_DOWN
                config = xvidtune -prev
        end
        begin
                prog = xirw
                button = CH_DOWN
                config = Auflösung -
        end
end system
