if you are using a recent version of mame then you turn both of those OFF..
towards the bottom of yoru mame.ini you'll find entries like...
trackball_device =
adstick_device =
dial_device =
ect....
set dial_device = mouse and mame will automatically turn on only the mouse for all games with spinners, thus keeping the joystick from screwing it up.
This should be obvious, but don't pause mame when you are remapping keys, it has to remain nupaused or you can't mapp analog controls.
Also it's not in the analog settings.... that's where you adjust the sensitivity, not where you bind the controls.
In controls this game you should run across something like "dial analog axis" that's where you remap it.