Ethan Glasser-Camp wrote:
We can get these strings, e.g. by using the pygame.key.name function. but I don't know how to translate that string back into a pygame.constant.
Why would you need to do that? Instead of translating the string to a key number to compare with user input, why not convert the user input to a string and compare with that? -- Greg