3 <strong>Event Types</strong>
27 <strong>Other</strong>
34 from pygame
.locals import QUIT
, MOUSEBUTTONDOWN
, MOUSEBUTTONUP
, MOUSEMOTION
, KEYDOWN
, USEREVENT
35 base
= pygame
.USEREVENT
36 print 'pgu base:', base
47 pygame
.USEREVENT
= CLOSE
48 if pygame
.USEREVENT
> pygame
.NUMEVENTS
:
49 pygame
.NUMEVENTS
= pygame
.USEREVENT