Does pygame.display.set_mode have to be used to utilize the keyboard keys? Once I added it to my code everything worked - but I do not want to open a pygame window.
Does anyone know how to utilize the keyboard without having to call pygame.display.set_mode ?
See Question&Answers more detail:os