Feb-14-2022, 11:57 AM
That works, thank you! I thought I was doing the same thing as the example in the pygame docs, but upon closer inspection, I found the following lines inside the main loop:
# For each joystick: for i in range(joystick_count): joystick = pygame.joystick.Joystick(i) joystick.init()It makes sense why mine wasn't working now, many thanks.