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

fix: wrong key mapping for NS Pro controller #741

Closed
wants to merge 2 commits into from

Conversation

meritozh
Copy link

@meritozh meritozh commented Apr 2, 2023

problem described in #739

Fix #739
Fix #327

guess #556 is same, but I don't have Linux device, so cannot test XInput protocol.

@Bitwolfies
Copy link

Bitwolfies commented May 14, 2023

problem described in #739

Fix #739 Fix #327

guess #556 is same, but I don't have Linux device, so cannot test XInput protocol.

Xinput is probably referring to windows Xinput, not Linux. (Linux xinput is not the same and not in use by cemu) Cemu primarily supports SDL on linux.

@SuperSamus
Copy link

SuperSamus commented Jun 30, 2023

For SDL, instead of manually switching the values of the Switch Pro Controller, the SDL hint SDL_HINT_GAMECONTROLLER_USE_BUTTON_LABELS could be used. (It's enabled by default)
Documentation here: https://github.com/libsdl-org/SDL/blob/5b9fdc9dd12564b54612ef7bd45d4b119cb18f03/include/SDL3/SDL_hints.h#L563

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