Worked perfectly, I was just wondering where can I change the controller layout, I want to try and get it as close to the SNES as possible.....Im using an xbox one controller and I couldnt get the select button to switch characters, or could I setup my wireless SNES controller to run on this
TIA
Hey, changing the controller mapping in DKAFE frontend is fairly simple. In the
settings.txt file you need to set
JOYSTICK = 1 if that is not already set. Then you can assign the button numbers from the detected gamepad to the DKAFE control functions. The below example is tested and working with an XBOX One controller.
USE_JOYSTICK = 1
BUTTON_JUMP = 0
BUTTON_ACTION = 1
BUTTON_P1 = 2
BUTTON_P2 = 3
BUTTON_EXIT = 6
BUTTON_COIN = 7
Note:
The up, down, left, right direction controls are automatically mapped to the DPAD and first detected joystick axis. The are non-configurable.
Button numbering in DKAFE starts from 0.
Here are the common buttons available to DKAFE from the Xbox One controller:
Button 0 = A
Button 1 = B
Button 2 = X
Button 3 = Y
Button 4 = Left Bumper
Button 5 = Right Bumper
Button 6 = View
Button 7 = Menu
Button 8 = Left Thumb
Button 9 = Right Thumb
You can get button numbers from any connected controller on Windows using the "Setup USB Game Controllers" utility in Control Panel. Click on the "Properties" for you controller and then you can see button number light up when you press them. You will need to subtract 1 from that shown in the Windows test since DKAFE starts at 0 and Windows starts at 1.
I have updated the settings.txt to use the above Xbox One controller maps by default since that makes more sense than the original ones I had set up for a USB / JAMMA adapter.