Cemu
Cemu copied to clipboard
fix: wrong key mapping for NS Pro controller
problem described in https://github.com/cemu-project/Cemu/issues/739
Fix #739 Fix #327
guess #556 is same, but I don't have Linux device, so cannot test XInput protocol.
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.
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