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

Re: [pygame] Key Presses



Yes, but:

key = pygame.key.get_pressed()
pygame.event.get()
if key[pygame.K_QUESTION]: print "Question"

in the event handler does nothing when I press the question mark key (whose primary (non-shift) function is "/").  The same goes for "!" (primary purpose "1") among still others.

Ian