[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] confusing documentation



Hi,

Pygame documentation suggests to call 
pygame.event.get([KEYDOWN,KEYUP]) to get all 
the keyboard events.
This is not always the right way, because the other events will remain
in the queue. SDL queue could contain max 128 unprocessed events,
additional events will be ignored.

The right way is to get all events by 
pygame.event.get() or some other way.

The documentation:
http://www.pygame.org/docs/ref/pygame_event.html#get


-- 
Ivo Danihelka