Remember Me
You might find a solution with the tutorial at https://www.petrockblock.com/2013/12/02/retropie-autoconfig-functionality/.