Use analogue as digital controls?
-
Hi @ all,
I configured my playstation 2 gamepad for the emulators (SNES, Mega Drive) and it works just fine. But on some games I would like to try analog controls. Is it possible to set this up? I mean using the analog control stick as a replacement for the digital cross?
I cannot configure both because retropie/ES then tells me it is already in use (left, right, up and down arrows e.g.). But I like to have both and not switch vice versa.I hope someone can understand what I mean.
Best wishes!
-
@naddel81 In the RetroPie setup script, select Configuration / tools > configedit > Configure basic libretro emulator options. In this menu, you can configure additional options for Mega Drive and SNES, one of which is use analogue stick as d-pad.
-
thanks for your help. can I use both at the same time or do I have to choise between cross and stick?
-
In "/opt/retropie/configs/all/retroarch.cfg", I add these lines to the bottom and it makes the left joystick act as a D-Pad (and vice versus). Can use either or, 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):
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"
-
will try that tomorrow! then I do not need to edit the retropie setup script in "Configure basic libretro emulator options", do I?
-
If that edits the same file or not I don't know. I always edit the config files myself so I can save the physical file on my computer and not have to redo it every time I do a fresh install.
-
works fine, thank you both! I noticed my ps2 original gamepads have an analog button in the middle. if you press it then it switches between digital cross and analog stick. so I guess there is no way to use both because the pad isn't designed that way by hardware.
well, at least I can switch on the fly now. -
@Dochartaigh via the configuration editor it can set them on a per core basis or in the global retroarch.cfg.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.