Blender/Pygame doesn't detect 3 joysticks

I’m currently developping a smah bros melee like with four players. ( for details)
To manage the four joysticks, I needed to use the pygame libraries.
With 1 or 2 joysticks, no problem. But when I connect a third joystick, Blender still detects only 2 joysticks (same thing with a fourth joystick).
It’s not a problem between pygame and windows. I tested it with a script you can download at script detects three joysticks. When I execute it in Blender, two joysticks are detected. So there must have some problem between Blender and Pygame.

Any solution greatly appreciated :smiley:


What type of joystick are you using? Mine won’t work at all!

up ! :yes: