projects
/
minwii.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
restitution des mouvements du curseur.
[minwii.git]
/
src
/
app
/
logfilereader.py
diff --git
a/src/app/logfilereader.py
b/src/app/logfilereader.py
index
a32d834
..
9955623
100755
(executable)
--- a/
src/app/logfilereader.py
+++ b/
src/app/logfilereader.py
@@
-174,6
+174,10
@@
class LogFilePlayer(PlayingScreenBase) :
chan, key = [int(v) for v in message.split(None, 1)]
self.synth.noteoff(chan, key)
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()
pygame.event.clear() # à virer
#EventDispatcher.dispatchEvents()