Swordfish90 / Lemuroid

All in one emulator on Android!
GNU General Public License v3.0
2.51k stars 164 forks source link

GBA not recognizing DPad of controller (using left stick inputs instead) #592

Open CapoFantasma97 opened 1 year ago

CapoFantasma97 commented 1 year ago

Describe the bug I am using my 8BitDo SF30Pro in Switch Pro mode to play GBA games on Lemuroid. The games register only the stick as directional inputs, and ignores the DPad. In the rebinding options for controllers, the controller is properly recognized as a Switch Pro device; the analog sticks and the DPad have no entries to set binds.

Expected behavior GBA should recognize the DPad for inputs; being able to use the stick would be nice in some contexts, but not at the expense of not being able to use the DPad. I don't know if other cores would have the same issue.

Tablet (please complete the following information):

yagosaboia commented 1 year ago

The same issue happens to me while using the 8BitDo Bluetooth Ultimate. I'm able to use the DPad on Lemuroid menu but it doesn't work inside of any game.

Tried with Citra standalone app, and while it doesn't set these binds automatically, it works when you set them manually.

Device: Lenovo P12 Pro OS: Android 12

CapoFantasma97 commented 1 year ago

It's also noteworthy that Retroarch does not have this issue.

dylanwatsonsoftware commented 1 year ago

Yeah, just to add an extra data point, I have this issue with my PS3 controller cabled to my Pixel 3, playing PSP games (I believe other systems too but will confirm).

dylanwatsonsoftware commented 1 year ago

I'd be keen to take a look, if anyone can point me in the right direction to start digging, code-wise.

Hapachew commented 1 year ago

To add more information, I also have this problem using my switch pro controller connected over Bluetooth, on a Pixel 5 running Android 13.

dylanwatsonsoftware commented 1 year ago

Interestingly I don't have this issue with a Razer Kishi Controller connected to my Android.

Redwing321 commented 4 months ago

I'm having the same problem but both the dpad and alalog sticks don't work, idk what to do.