You don't need to modify the joypad_autoconfig_dir, reason being that /tmp/autoconfig is an overlay of both /usr/share/retroarch/autoconfig (system autoconfig files) and /storage/.config/retroarch/autoconfig (user defined).
yes but I don't know why it doesn't load my config file, or it seems to prefer loading from /usr/share a profile that match my controller but finally is not working