there is no need to, in lightgun games controls mapped to mouse automatically.
but you must go to game service mode (F4) -> test mode -> I/o test and calibrate inputs there.
similar procedure required by most arcade games which uses light guns or analogue inputs.