import pygame from pygame.locals import * pygame.init() screen = pygame.display.set_mode((640, 480))
while 1:
for event in pygame.event.get():
if event.type == KEYDOWN:
exit()
print pygame.mouse.get_pos()
I just put together this code, it works fine here. Any difference from
yours?
On Mon, Aug 17, 2009 at 23:38, Ian Mallett <[email protected]> wrote:
> Are you calling pygame.event.get() or a similar call?
> Give us more information.
>
