KEYDOWN and evt.key == pygame.K_a: print "a pressed" evt.type and evt.key will both be integers that map to one of the type constants and one of the key ...
確定! 回上一頁