fix: wrong key mapping for NS Pro controller #741

Open
meritozh wants to merge 2 commits from meritozh/meritozh-patch-1 into main
meritozh commented 2023-04-02 10:02:13 -04:00 (Migrated from github.com)

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 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.
Bitwolfies commented 2023-05-13 20:14:51 -04:00 (Migrated from github.com)

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.

> 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 commented 2023-06-30 19:02:30 -04:00 (Migrated from github.com)

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: 5b9fdc9dd1/include/SDL3/SDL_hints.h (L563)

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
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin meritozh/meritozh-patch-1:meritozh/meritozh-patch-1
git checkout meritozh/meritozh-patch-1

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git checkout main
git merge --no-ff meritozh/meritozh-patch-1
git checkout meritozh/meritozh-patch-1
git rebase main
git checkout main
git merge --ff-only meritozh/meritozh-patch-1
git checkout meritozh/meritozh-patch-1
git rebase main
git checkout main
git merge --no-ff meritozh/meritozh-patch-1
git checkout main
git merge --squash meritozh/meritozh-patch-1
git checkout main
git merge --ff-only meritozh/meritozh-patch-1
git checkout main
git merge meritozh/meritozh-patch-1
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: cemu-project_Mirror/Cemu-2024-03-05#741
No description provided.