projects
/
minwii.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ménage (par le vide)
[minwii.git]
/
src
/
app
/
events.py
diff --git
a/src/app/events.py
b/src/app/events.py
index
6b90d92
..
a67a416
100755
(executable)
--- a/
src/app/events.py
+++ b/
src/app/events.py
@@
-1,8
+1,7
@@
import pygame
from sys import modules
import pygame
from sys import modules
-events = ['TIMEOUT',
- 'NOTEON',
+events = ['NOTEON',
'NOTEOFF',
'NOTEEND',
'COLDOWN',
'NOTEOFF',
'NOTEEND',
'COLDOWN',
@@
-14,7
+13,7
@@
eventNames = {}
self = modules[__name__]
for i, name in enumerate(events) :
self = modules[__name__]
for i, name in enumerate(events) :
- eventType = pygame.USEREVENT
+
i
+ eventType = pygame.USEREVENT
+ 1 +
i
eventNames[eventType] = name
setattr(self, name, eventType)
eventNames[eventType] = name
setattr(self, name, eventType)