@pscotto1234 THANK YOU
That did the trick!
You saved me perhaps a weeks time. I would have been playing around with this, reinstalling the RetroPie image, starting from scratch, trying this that and everything. Then maybe if I was lucky I would have come up with the answer.
Thank you for saving my time and giving me the answer!
I wonder why some games are for Joystick 1 and some for Joystick 2.
I found a lot of help in this forum. I'm very happy when I can help someone else ;)