Re: Getting Multiple key presses with Pygame
I actually looked at that stack overflow page before and was unable to get what I needed exactly. I figured it out though.
my solution is:
if event.key == pygame.K_a and pygame.key.get_mods() & pygame.KMOD_SHIFT:
...
elif event.key == pygame.K_a:
...
_______________________________________________ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector