You can hit (Designated retroarch hotkey)+X, then go to settings, controllers to review and change to your liking.
Those that start with lr in the front of the emulator names in the list below) have controller configurations setup automatically by Retroarch.