begin
        prog = irexec
        button = 4
        button = 3
        button = 2
        button = 1
        config = killall motion
        # Close it
end
begin
        prog = irexec
        button = 1
        button = 2
        button = 3
        button = 4
        config = sh -c 'sleep 5 ; /usr/local/bin/motion -n ntsc -c 300 -t /tmp/jpegs -n Composite1'&
        # Start up motion. the sleep 5 gives you 5 seconds to hit the road
end
begin
        prog = irexec
        button = 1
        button = 2
        button = 3   
        button = 4
        config = sh -c '/usr/local/bin/br -ci -N'&
        # turn the lights on!
end                    
begin
        prog = irexec
        button = 4
        button = 3
        button = 2   
        button = 1
        config = sh -c '/usr/local/bin/br -ci -F'&
        # Turn the lights off
end
