AmatCoder / mednaffe

A front-end (GUI) for mednafen emulator
GNU General Public License v3.0
423 stars 35 forks source link

Mednaffe does not like my DualShock 4 #161

Open BlazeHedgehog opened 1 year ago

BlazeHedgehog commented 1 year ago

So, finally sick of SSF being weird for certain Saturn games and trying to avoid using RetroArch (both because it's slow and because of the dark cloud forming around it), I am throwing myself at the world of using Mednafen, raw.

This front end seems pretty good! But I can't seem to configure my controller at all. I'm using a wired Playstation DualShock 4 (referred to in Windows as just "Wireless Controller"). The issue is that when I go to rebind my controls off of keyboard on to the controller, every single input gets rebound as:

Axis 4- (Wireless Controller)

All buttons, all sticks, all everything. I'd assume maybe it's just the controller's age (I got it in 2015) and maybe the analog sticks are starting to drift, but I even swapped out my mostly-used-on-PC Dualshock 4 for the newer Dualshock 4 used on my actual Playstation 4 console, and it's still registering all inputs as "Axis 4-".

Windows is mostly unhelpful as to what Axis 4 even is. According to gamepad-tester.com:

Axis 0 is Left Stick Horizontal Axis 1 is Left Stick Vertical Axis 2 is Right Stick Horizontal Axis 3 is Right Stick Vertical

If I had to venture a guess, and if everything lines up correctly, Axis 4 seems to be the analog triggers? Gamepad Tester properly registers those as triggers, but from my experience with game development, I know that triggers can sometimes register as sticks, and that triggers in particular can be weird. But that's just from what I know in Clickteam Fusion, not "real" programming.

That's just my shot in the dark, but whatever it is, it's preventing me from setting up any kind of controller bindings at all.

ZzackKbin commented 1 year ago

I have the same problem.

ZzackKbin commented 1 year ago

Solution at this moment rub game change type controller ctr+shift+1
remap pad alt+shift+1 remember rapid is autofire just set this on keyboard.