Mercurial > code > home > repos > light9
diff attic/Nodes/dmxout.py @ 299:6931479b657a
Make attic, move a bunch of old files to it
author | David McClosky <dmcc@bigasterisk.com> |
---|---|
date | Mon, 20 Jun 2005 18:52:21 +0000 |
parents | Nodes/dmxout.py@45b12307c695 |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/attic/Nodes/dmxout.py Mon Jun 20 18:52:21 2005 +0000 @@ -0,0 +1,11 @@ + + +class ops(Ops): + def changed(self, input, output, stateaccess): + input.dmx + +class DMXOut(Node): + def get_default_ports(self): + return {'dmx':InputPort(DMX,required=1,maxpins=1)} + def get_default_params(self): + return {'outputrefresh':NextTime,'outputdevice':DMXDevice}