Closed TheTychoStar closed 1 year ago
Hello TheTychoStar! I don't own any game controllers, so it would be hard for me to test the code properly.
However, if you play around with the code, you might come up with a solution of your own for adding Xbox controller support.
One of our contributors, vlsido has added support for a DualShock4 controller using a python library called vgamepad. You can learn more about vgamepad here: https://pypi.org/project/vgamepad/
As it states on the library's website, respective classes for simulating DS4 and Xbox gamepads are: VDS4Gamepad
and VX360Gamepad
. You can see the VDS4Gamepad
in autoskip_dialogue.py
.
I'm not familiar with the library at all myself. I've just trusted a contributor with a solution that worked for him.
What you should do, is use a search engine or an AI chatbot for example solutions for emulating an Xbox controller using the VX360Gamepad
in a similar way thata our contributor vlsido did with VDS4Gamepad
.
Good luck!
Or will you add support for xbox controller? Thanks.