Pygame keyboard layouts mixed up
问题 I'm on Mac OS X 10.6, and I have Dvorak, US Extended, and Norwegian in my keyboard input selector menu, and US Extended is the one I use. When I run Pygame programs with keyboard input, pygame seems to think I'm using dvorak regardless of what is actually selected. This is the part of the code that takes the keyboard input: # Check for events for event in pygame.event.get(): if event.type == KEYDOWN: # Change the keyboard variables if event.key == K_LEFT or event.key == ord('a'): moveRight =