input-beta: XBox-like controller is detected as Switch controller, causing buttons to be swapped

Issue #9017 open
monacle geraffe created an issue

So I have a cheap USB controller with XBox button layout (X/Y, A/B). In Steam it shows up as an “Nintendo Switch Pro Controller”. With the main branch of Caves of Qud (with steam input enabled), everything works out of the box.

Today I switched to the input beta. First I disabled steam input for CoQ, because otherwise the controller would not work properly. Now the controller is detected (shows up as SwitchProControllerHID in the keybindings menu), controller input works, but the labels for keybindings are swapped. Example: On the menu screen it says “[B] select, [A] quit” (but A selects, and B quits), in game the Abilities menu shows “Y” over the selected ability, but “X” activates the ability, etc.

Is there a way to switch between the Xbox and Nintendo layouts when the controller is not identified properly? I’m pretty sure this is steam’s fault and not CoQ’s, but it seems there’s nothing I can do about it on the steam side.

Comments (5)

  1. monacle geraffe reporter

    I should add that this is on OSX (m2), and steam has so far been the only way I can get the controller to work reliably at all in most games.

  2. monacle geraffe reporter

    Quick update in case anyone else has this problem. If I connect the controller after starting the game, the button mapping is correct everywhere, except in the Control Mapping menu, where it is still swapped.

    As long as you don’t need to remap anything, it’s totally playable with the default control mapping using this workaround.

  3. Log in to comment