Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux - X360 Start button is bound to the right trigger? #30

Open
Com2486 opened this issue Jul 16, 2024 · 4 comments
Open

Linux - X360 Start button is bound to the right trigger? #30

Com2486 opened this issue Jul 16, 2024 · 4 comments

Comments

@Com2486
Copy link

Com2486 commented Jul 16, 2024

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

@yannbouteiller
Copy link
Owner

Gamepads behave strangely on linux. Would you have a real gamepad to double-check that something similar doesn't happen with the real one ?

@Com2486
Copy link
Author

Com2486 commented Jul 18, 2024

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

@yannbouteiller
Copy link
Owner

yannbouteiller commented Jul 18, 2024

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.

@Com2486
Copy link
Author

Com2486 commented Jul 18, 2024

I could probably test with a real X360 controller at some point, but I'd have to search for the little dongle first

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants