Cemu icon indicating copy to clipboard operation
Cemu copied to clipboard

fix: wrong key mapping for NS Pro controller

Open meritozh opened this issue 2 years ago • 2 comments

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.

meritozh avatar Apr 02 '23 14:04 meritozh

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.

Bitwolfies avatar May 14 '23 00:05 Bitwolfies

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

SuperSamus avatar Jun 30 '23 23:06 SuperSamus