Seems to be this game ?
You may try starting the game with mame2003-plus (mame2003 might also work) and use the Mame mapping menu (hit Tab on an attached keyboard) for the game. The up/down movements of the gun are mapped to a couple of Paddle inputs, which you can assign to the 2nd joystick of the player.