zeth / inputs

Cross-platform Python support for keyboards, mice and gamepads

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to find joystick

DigitalRookie4 opened this issue · comments

I have been trying to add my gamepad (which is a joystick) into python. It is fully 100% a joystick and it is a Logitech attack 3. But the program is giving off an inputs.UnpluggedError: which is saying No gamepad found.. I have also looked above that and it is saying `Traceback (most recent call last):
File "C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\site-packages\inputs.py", line 2930, in get_gamepad
gamepad = devices.gamepads[0]
IndexError: list index out of range

During handling of the above exception, another exception occurred:`