projects
/
minwii.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ajout module player.
[minwii.git]
/
src
/
app
/
eventutils.py
diff --git
a/src/app/eventutils.py
b/src/app/eventutils.py
index
fda8154
..
ed03913
100755
(executable)
--- a/
src/app/eventutils.py
+++ b/
src/app/eventutils.py
@@
-29,7
+29,6
@@
$URL$
import types
import pygame
from StringIO import StringIO
import types
import pygame
from StringIO import StringIO
-from events import NOTEON
class _EventDispatcher :
def __init__(self) :
class _EventDispatcher :
def __init__(self) :
@@
-45,8
+44,6
@@
class _EventDispatcher :
events = pygame.event.get()
for event in events :
listeners = self.registry.get(event.type, [])
events = pygame.event.get()
for event in events :
listeners = self.registry.get(event.type, [])
- if event.type == NOTEON :
- print len(listeners)
for listener in listeners :
listener(event)
def reset(self) :
for listener in listeners :
listener(event)
def reset(self) :