0

I have a Switch Pro Controller paired to a Raspberry Pi 3 Model B+ to play games in RetroPie.

I would like the option to use the leftthumb stick on my controller as a d-pad when playing systems that didn’t support analog control. (NES, SNES, Genesis).

I considered rebinding my thumbstick to the d-pad, but that would mean I can’t use the thumbstick on systems with analogue controls such as N64 or PS1. (Preferably, I would also like my d-pad to continue working as a d-pad.)

How can I configure RetroPie to use my left thumbstick as a d-pad for games that don’t support analog sticks?

1

In /opt/retropie/configs/all/retroarch.cfg, add these lines to the bottom to make the left joystick act as a D-Pad (and vice versa).

input_player1_analog_dpad_mode = "1"
input_player2_analog_dpad_mode = "1"
input_player3_analog_dpad_mode = "1"
input_player4_analog_dpad_mode = "1"
input_player5_analog_dpad_mode = "1"
input_player6_analog_dpad_mode = "1"
input_player7_analog_dpad_mode = "1"
input_player8_analog_dpad_mode = "1"

You can use either the joystick or the D-Pad and switch at the drop of a hat. It seems to work in ALL the emulators I've tried (mostly NES, SNES, Genesis, PS1, and MAME):

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.