@tuntav This may be information you already know, but both mine are detect as mice and the spinner overrides the mouse. The only way I get around is to find out what device number each mouse is (spinner is detected as mouse) and then start game, go into retroarch and set the mouse input to the number assigned to what mouse I want to use and then save the game settings (not the core settings).
For example, my spinner is device 0 and mouse is device 2. For a game like Centipede, I just go into Retroarch, set Mouse Input from 0 to 2 and save the game config so only affects that game.
Have done the same for AdvanceMame, but that does not use Retroarch but a config file.
Again, you may already know this, so I am sorry if I am repeating information you already know.