An USB adapter for Gamecube controller is required for this function !
/recalbox/share/system/recalbox.conf
gamecube.realgamecubepads=0
gamecube.realgamecubepads=1