@duglor I think you could do quick menu > controls > port 2 controls > mapped port: 1 and then save it as a game or core remap file. Do this for each game or core that requires it.
Note for anyone finding this thread -- the aforementioned link contains much more information regarding the troubleshooting and fix of this issue. Please reference that for more information.