Connected controller support

if I were to connect a console controller to my phone, how would I be able to use it on retroarch

If you have up-to-date autoconfig profiles, it would likely pick it right up and you could use it without any further configuration (assuming a USB OTG connection)