0

I would like to simulate gamepad input, and I cannot find the way to do it, since some people say that I need pyvjoy and I don't where can I get it, other people say that pygame/tkinter but I cant find any info in docs

1 Answer 1

0

Possible duplicate of Simulate XBox Controller Input with Python

You can get most of the python modules using pip (more info here:https://pip.pypa.io/en/stable/):

$ pip install <my_python_package_name>

But package "pyvjoy" from https://github.com/tidzo/pyvjoy cannot be installed in this way, so you have to download it using zip or via git if you've got git installed:

$ git clone https://github.com/tidzo/pyvjoy

Then you should try to run your python outside this directory (you should have "pyvjoy" directory in that folder where you start your python interpreter) and test it with:

>>> import pyvjoy

This library currently only works with the x86 dll.

Hope, it was helpful.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.