Open Com2486 opened 4 months ago
Gamepads behave strangely on linux. Would you have a real gamepad to double-check that something similar doesn't happen with the real one ?
Tested a couple things with real and fake gamepad. (xbox one) Gamepad plugged directly into my PC works great, start button is fine The virtual start button I got around by using 0x0080 instead of vg.XUSB_BUTTON.XUSB_GAMEPAD_START
Great, thanks! Let's maybe use that in Linux for the start button, I remember doing something weird with evdev for the start/select buttons.
This is supposed to emulate the XBox360 controller, not XBox One though. But I don't have an actual XBox 360 controller to test.
I could probably test with a real X360 controller at some point, but I'd have to search for the little dongle first
I rigged up some code to just press vg.XUSB_BUTTON.XUSB_GAMEPAD_START, and the controller is just pressing the right trigger, full force instead.
Linux Mint, Python 3.10.12, latest version of vgamepad