Hello,
couple of weeks passed and things happened.
First, it turned out that the autoconfig files in the retroarch-joypads directory contain different values than the jstest tool prints. This is pretty confusing to me but when I executed the builtin joy configuration tool of retroarch, it created the file with different values for the two gamepads. And the buttons works with those 'different' values. So much for jstest. (I guess libretro doesn't use SDL2, but EmulationStation). Interestingly the scancodes of the joys are the same for jstest, but different for the retroArch config...
Secondly I visited the irc channel of retroArch and there I was told that the joys/gamepads are recognized by their name, vendorID and productID (bluetooth address doesn't play any role in this procedure - which is again surprising for me). These values are the same for my pads, so only one option is left for me: forget about autoconfiguration and configure the pads manually.
Now in my retroarch.cfg file I
turned off autoconfiguration (input_autodetect_enable), so upon lr- game start the joy config files are not re-loaded
configured the scancodes of the buttons/Dpads/axis in the retroarch.cfg file for both joysticks..
Now I can play Super Bomberman 3 happily with my kids in two player mode...
Thanks for reading!