mgba icon indicating copy to clipboard operation
mgba copied to clipboard

Weird issues with SNES Controller

Open 7ngel opened this issue 1 year ago • 7 comments

So I'm having an issue with my bluetooth official nintendo SNES controller (plugged in or through blutooth) It detects the controller and all the correct key presses on the controller while binding them in mGBA but when I got to use the controller on a game like wario land 4 the controller is constantly going left and I can't do anything about it. For some reason its just registering right dpad as right and left and the left dpad does nothing. I've tested my xbox series X controller and it works completely flawlessly, and I've tested the SNES controller on other emulators like dolphin and it works fine there. Any solutions?

VERSION 0.10.3 64 BIT WINDOWS 10

image

7ngel avatar Jan 23 '24 08:01 7ngel

Can you please attach the zip file generated by File > Report Bug?

endrift avatar Jan 23 '24 10:01 endrift

snes-controller-bug.zip

Hello! I have the same issue. In 0.10.2 I could get it to work by closing Steam which made the controller show up in the menu as "Wireless Gamepad" . With steam open it shows up as "Nintendo SNES Controller" . In 0.10.3 it shows up with the correct name but it doesn't work even with steam closed. I have attached the bug report. Thanks!

bionic-bill avatar Jan 28 '24 17:01 bionic-bill

Can you please attach the zip file generated by File > Report Bug?

bug.zip

Have you seen the guys message above aswell seem like this could be a cause of a new update.

7ngel avatar Jan 29 '24 01:01 7ngel

I've obtained an NSO SNES Controller and will test this soon. I had assumed something strange in the config file might be responsible but I can't find anything.

endrift avatar Jan 30 '24 00:01 endrift

I've obtained an NSO SNES Controller and will test this soon. I had assumed something strange in the config file might be responsible but I can't find anything.

Were you able to test it?

7ngel avatar Feb 04 '24 04:02 7ngel

Yes, the issue seems to be rooted in SDL. Click on each of the buttons that has a - or + on it and hit "clear analog". This should fix it. I'll need to look into how to avoid this issue better in the future.

endrift avatar Feb 05 '24 00:02 endrift

Thanks endrift, that fixed it! I wish i had been a little more daring (or even noticed the button 😅) messing with the settings.

bionic-bill avatar Feb 05 '24 19:02 bionic-bill