i think I found a fix.
I changed the inputconfig type line to this
<inputConfig type=”joystick” deviceName=”Virtual gamepad
i found it from es_temporaryinput file.
That helped and the settings are sticking now
Thank you for all the help Herbfargus. Your videos on youtube have been helpful too