Dolphin core classic controller

Hello !

I just have successfully installed libretro Dolphin core on my RetroPie x86-based arcade machine.

As you can see on the picture, the controls are 2 arcade sticks + buttons. By default, the Dolphin core seems to map Retroarch controllers as Emulated Wiimotes.

I tried to start Mario Kart Wii, and it doesn’t works, my controllers have no effect on the game.

I remembered that on my PC, using a SNES controler, I was only able to play by mapping it in Dolphin as a Classic Controler extension. Then, on my Arcade, I had to patch the following function: retro_set_controller_port_device().

I appended at the begining:

device = RETRO_DEVICE_WIIMOTE_CC;

Then, I have rebuilt the core with this change, and everything is now working well: the libretro generated WiimoteNew.ini is using Classic Controller settings as expected, and Mario Kart Wii is perfectly usable with my arcade sticks.

My question: how to force my controllers to be mapped as RETRO_DEVICE_WIIMOTE_CC by default, without patching the Dolphin core?

I mean, I expect the device argument of the retro_set_controller_port_device() function to be what I need in my case: RETRO_DEVICE_WIIMOTE_CC. I suppose there is a way to configure retroarch with this setting for Dolphin core, but I have not found how to do it.

Best regards, and thank you for your help :slight_smile:

You should be able to go into quick menu > controls and change the device type there, then save a core or game remap to have it take effect whenever you launch that core/game.

Indeed ! I havn’t understood this parameter was configurable this way ! Sorry for my stupid question and thank you for your help :slight_smile:

No problem. I’m glad that got you fixed up :slight_smile:

1 Like