Can anyone tell me how to configure the controls in mame to get this game to work properly?

The character moves around fine, but the gun movement is all screwed up - I just want the gun to move in the same direction as the character is going, like in the arcades. At the moment, the gun's got this weird analogue turning thing going on.

Any ideas? Cheers

Mame 9.0 btw