Should be doable. I don`t use windows nowadays, but i guess you are unplugging the unused guns? If so, you could just write a script that modifies the mame ini whenever a certain usb device was connected/disconnected. I don`t know how mame handles the .ini however; so it might be that you have to restart mame.