restitution des mouvements du curseur.
[minwii.git] / src / app / logfilereader.py
index a32d834..9955623 100755 (executable)
@@ -174,6 +174,10 @@ class LogFilePlayer(PlayingScreenBase) :
                 chan, key = [int(v) for v in message.split(None, 1)]
                 self.synth.noteoff(chan, key)
             
+            elif eventName.startswith('COL') :
+                pos = [int(n) for n in message.split(None, 4)[-1].strip('()').split(',')]
+                self.cursor.setPosition(pos)
+            
                 
             pygame.event.clear() # à virer
             #EventDispatcher.dispatchEvents()