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

Switch Pro Controller Input Issues #496

Closed
2 tasks done
MPS64 opened this issue Mar 2, 2025 · 6 comments
Closed
2 tasks done

Switch Pro Controller Input Issues #496

MPS64 opened this issue Mar 2, 2025 · 6 comments

Comments

@MPS64
Copy link

MPS64 commented Mar 2, 2025

Validation

  • I have checked the Issues page to see if my problem has already been reported
  • I have confirmed that this bug does not occur in the original game running on original Xbox 360 hardware

Describe the Bug

For context, I'm using sdl for my input method.

My Nintendo Switch Pro Controller works well until you get into the stages themselves. A is mapped to jump AND the pause button which makes progress very difficult.

Steps to Reproduce

  1. Plug in a Nintendo Switch Pro Controller.
  2. Boot up the game.
  3. Either select "NEW GAME" or "CONTINUE".
  4. Try to jump.

Expected Behavior

I expected Sonic to jump as normal.

Footage

https://youtu.be/8IRsfWoUGvg

Specifications

Fill out the following details:

  • CPU: AMD Ryzen 7 4700U with Radeon Graphics
  • GPU: AMD Radeon(TM) Graphics
  • GPU Driver: AMD Radeon(TM) Graphics Version 31.0.21921.1000
  • OS: Windows 11
  • Version: 24H2

Additional Context

Don't know what to put here.

@AL2009man
Copy link

AL2009man commented Mar 2, 2025

Had the same issue (#488), with the exception of the Pause button causing duplicated buttons for the Jump action (already ensured there aren't any Input Remappers conflicting).

I also provided a solution by setting a cvar that switches Face Button layout based on Controller Type while on menus, using yquake2/yquake2@9e07dc2 as inspiration.

The bigger problem would be QTE sequences or Reaction Plates/Jump Selectors, where it can messed up muscle memory.

edit: to clarify; I'm referring to the Face Buttons being reversed when using Nintendo Switch controller. As this sourceport moved the usual A Button (In "Xbox" terms) over to B Button (also, in Xbox terms). That makes general gameplay a hassle and destroys muscle memory due to the lack of controller rebinding at the moment. However, I don't have that issue with Pause button also causing a double-input bug.

@Uhuh
Copy link

Uhuh commented Mar 2, 2025

I also have this issue on linux with an Xbox One controller where the a button causes it to bring up the pause menu but causes a jump action when it "unpauses".

EDIT: After spamming all the buttons on my controller, even pushing in on analog, my A button went from doing start menu to jumping only now. I have no explanation as for why.

EDIT pt2: After I made the first edit and jumped around a bit it went back to opening the pause menu. Not sure what could be the reason.

Edit 3: Closing steam fixes this.

@SonicDarkYT
Copy link

I also have this issue on linux with an Xbox One controller where the a button causes it to bring up the pause menu but causes a jump action when it "unpauses".

EDIT: After spamming all the buttons on my controller, even pushing in on analog, my A button went from doing start menu to jumping only now. I have no explanation as for why.

EDIT pt2: After I made the first edit and jumped around a bit it went back to opening the pause menu. Not sure what could be the reason.

Something that fixed it for me was to close steam/remove windows controller from steam

@Uhuh
Copy link

Uhuh commented Mar 2, 2025

I also have this issue on linux with an Xbox One controller where the a button causes it to bring up the pause menu but causes a jump action when it "unpauses".
EDIT: After spamming all the buttons on my controller, even pushing in on analog, my A button went from doing start menu to jumping only now. I have no explanation as for why.
EDIT pt2: After I made the first edit and jumped around a bit it went back to opening the pause menu. Not sure what could be the reason.

Something that fixed it for me was to close steam/remove windows controller from steam

The timing on this comment as I was editing mine. :D

@AL2009man
Copy link

AL2009man commented Mar 2, 2025

I also have this issue on linux with an Xbox One controller where the a button causes it to bring up the pause menu but causes a jump action when it "unpauses".
EDIT: After spamming all the buttons on my controller, even pushing in on analog, my A button went from doing start menu to jumping only now. I have no explanation as for why.
EDIT pt2: After I made the first edit and jumped around a bit it went back to opening the pause menu. Not sure what could be the reason.

Something that fixed it for me was to close steam/remove windows controller from steam

The timing on this comment as I was editing mine. :D

Yeah, I'm not surprised by this. This sourceport uses SDL2 (I don't know which version this sourceport is using), which will contain native Nintendo Switch controller support, however: it also has a problem when it comes to Face Button layout being reversed.

That being said: This is why I make sure no Input Remapper is enabled (including Steam Input) to avoid a double-input bug or conflicts, even turned off Steam's Desktop Config for all of my controllers (minus for Steam Controller).

If I wanna use Steam Input for this game: I typically setup a Steam shortcut and override Steam Input's status within the In-Game Properties [on Steam library]. that way: Steam Input and SDL's own Controller support don't fight with each other.

@MPS64
Copy link
Author

MPS64 commented Mar 2, 2025

Wow, closing steam did fix the issue! Thanks so much for figuring it out guys, I really appreciate it!

hopefully an input remapper comes soon but this is still great.

@MPS64 MPS64 closed this as completed Mar 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants