I haven't looked at the new ctrlr file system closely yet.
If one can convert the hacks on my website for e new version mame, one would just have to put the horizontal and vertical hack in the correct heirarchy of things so the mouse ctrlr file overrides the vertical ctrlr file.
But with vanillamame, I don't think you can do this.
I'm suprised someone hasn'; wrote a utility to to switch the dipswitch to cocktail mode for cocktail games. Right now it owuld be easy if the cfg file for the game is already there. It's XML.