Can you try moving your actual mouse swiftly for the x/y mame in game setup stuff, then exit and edit the CFG and change the mouse number value to 5? I was a little confused as well -- my trackball wouldn't work at first, until I realized I had to go in a remap everything because it was now being detected as MOUSE2 for some reason even though it's the only mouse device currently connected?!? What is mouse1 I wonder hehe.
I will try and hook up my act labs guns this weekend and see what I find also.
Yeah this is what I did. I wiggled the trackball and edited that value. It did not work. I also went in and remapped it using the spinner and changed that value as well. Still no luck.
What is weird though is that MAME recorded different strings when I did that. As a test, for the analog x axis, I spun the trackball. Then I went to the analog y axis and spun the spinner. Then I exited and looked at the .cfg file. Oddly the values were totally different!! It was something like MOUSCODE_2_ANALOG_X for one thing, and MOUSE_4_Y for the other.
I mean the strings aren't even close to each other. Another weird thing is that when I changed MOUSECODE_
2_ANALOG_X to MOUSECODE_
5_ANALOG_X, MAME stopped recognizing the value.
So when I went back into the game, after editing the value to 5, the in game setup said
n/a.

I laughed at this since MAME was the one who chose this to begin with, and now all of a sudden it is invalid?? WTF??

I think the new mame has a bug or something.
Anyway, if you could let me know what strings are in your .cfg that would be great. Also post your mame.ini if you can.
Thanks!