pygame.key.get_pressed[K_a], K_a is not defined!?

Mike Driscoll kyosohma at gmail.com
Fri May 2 13:43:57 EDT 2008


On May 2, 12:03 pm, globalrev <skanem... at yahoo.se> wrote:
> print pygame.K_a displays 97 btw. what does that mean? i though it
> would return true or false or 0 or 1.

That's probably the key code value. Or the ASCII representation for
the key. You'd have to read the pygame docs to really know.

Mike



More information about the Python-list mailing list