mgba-emu / mgba

mGBA Game Boy Advance Emulator
https://mgba.io/
Mozilla Public License 2.0
5.62k stars 771 forks source link

Left D-Pad on SNES controller doesn't register. #2865

Open CombinL0N opened 1 year ago

CombinL0N commented 1 year ago

Whenever I play a game using the emulator, all the buttons work except for the left D-pad arrow. And when I try to set it, it sets it to ←/7 while it should be ←/7/-0 mgbareport.zip

goodstuff626 commented 1 year ago

I am having a similar issue using my ps3 controller. The d-pad 'left' and 'down' always maps the same button in mgba (+8). I don't have this problem with any other emulator, so it seems like a bug in mgba with mapping d-pad on controllers.

endrift commented 1 year ago

I have a cheapo SNES-like USB gamepad but it doesn't seem to have this same issue. Where did you get it?

CombinL0N commented 1 year ago

i'm using an adapter that i can use a real snes controller for my pc

CombinL0N commented 1 year ago

if you're wondering what adapter i'm using, it's this one https://www.amazon.com/Tomee-SNES-USB-Controller-Adapter-pc/dp/B00HM3QCT6/ref=asc_df_B00HM3QCT6/?tag=hyprod-20&linkCode=df0&hvadid=642194472653&hvpos=&hvnetw=g&hvrand=13687191520889591818&hvpone=&hvptwo=&hvqmt=&hvdev=c&hvdvcmdl=&hvlocint=&hvlocphy=9013141&hvtargid=pla-495939662332&psc=1&gclid=Cj0KCQjw27mhBhC9ARIsAIFsETGs5m-OqpS9s7pbAPouopZvJYQE4CONzh2RPjLnTjwIgJCNzp11UggaAoZNEALw_wcB another issue related to this is that the left shoulder button acts like the up d-pad and the right shoulder button acts like the right d-pad these issues aren't present in other emulators, so idk what's going on.

endrift commented 1 year ago

I've ordered one. That'll help me look into it when it arrives.

7ngel commented 7 months ago

I have a similar issue except mine for some reason its just registering right dpad as right and left and the left dpad does nothing and my characters constantly going left. Wheres the support? I'm using the official SWITCH SNES controller.

endrift commented 7 months ago

this is free software

endrift commented 7 months ago

Also I guess I forgot to reply after I got it: I wasn't able to reproduce even with that adapter.