Remember Me
This may help. Its not exciting though.
A quick answer is to edit the auto controller script found in /opt/retropie/emulators/retroarch/configs/