diff options
author | dan <dmtaub@gmail.com> | 2011-01-28 16:31:58 -0500 |
---|---|---|
committer | dan <dmtaub@gmail.com> | 2011-01-28 16:31:58 -0500 |
commit | b11a72afece56dc138aac5400057668e8388f43d (patch) | |
tree | b779455122ee1987d3fcd9b51fcffa8d03057b86 /behaviors/SynchTest.py | |
parent | 6a0bfdfb00944ae0bcc6215a194c3290b4a085f2 (diff) | |
parent | b67a37ad06fa4c97dcdb32cecc71c7f492b12840 (diff) |
Merge branch 'fridaydemo' of github.com:rcoh/SmootLight into osc
Conflicts:
behaviors/ControllerOSC.py
Diffstat (limited to 'behaviors/SynchTest.py')
-rw-r--r-- | behaviors/SynchTest.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/behaviors/SynchTest.py b/behaviors/SynchTest.py new file mode 100644 index 0000000..e7b8acc --- /dev/null +++ b/behaviors/SynchTest.py @@ -0,0 +1,12 @@ +from operationscore.Behavior import * +from pixelevents.SynchTestEvent import * +import pdb +class SynchTest(Behavior): + def behaviorInit(self): + self.rendered = False + def processResponse(self, sensorInputs, recurs): + if not self.rendered: + self.rendered = True + print 'here1' + return ([{'Location':'True', 'PixelEvent':SynchTestEvent({'Color':(255,0,0)})}], []) + return ([], []) |