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

Support for trigger buttons #25

Open
sp1ritCS opened this issue Jul 17, 2021 · 0 comments
Open

Support for trigger buttons #25

sp1ritCS opened this issue Jul 17, 2021 · 0 comments

Comments

@sp1ritCS
Copy link

The Nintendo Switch Pro Controller has "trigger buttons", in the sense that evdev exposes them as BTN_TL2 & BTN_TR2. Wine's dinput impl then exposes those as part of DIJOYSTATE2 → rgbButtons.

I've came up with a patch that makes dumbxinputemu work with an switch pro controller. Mind telling me if there's something I could improve?

nintendo_switch_pro_ctrl.diff.gz

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

1 participant