projects
/
minwii.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
c27e951e01c4415632dd6182a9c06b3deff7fa0a
[minwii.git]
/
src
/
app
/
events.py
1
import
pygame
2
base
=
pygame
.
USEREVENT
3
print
'events base :'
,
pygame
.
USEREVENT
4
TIMEOUT
=
base
+
1
5
NOTEON
=
base
+
2
6
NOTEOFF
=
base
+
3
7
NOTEEND
=
base
+
4
8
COLDOWN
=
base
+
5
9
COLUP
=
base
+
6
10
COLOVER
=
base
+
7
11
12
pygame
.
USEREVENT
=
COLOVER
13
if
pygame
.
USEREVENT
>
pygame
.
NUMEVENTS
:
14
pygame
.
NUMEVENTS
=
pygame
.
USEREVENT