
This is so you do not have to constantly re-calibrate your gun. r 800圆00 -refresh 60 = sets the game to use a fixed resolution and refresh. Yourgame = is the name of the romset you are using Mame yourgame -mouse -r 800圆00 -refresh 60 To use light guns you would use a command similar to this:
#MAME OS X CONFIGURE CONTROLS CODE#
I am not sure that the code currently works with every game. NB There may be some issues in some games with offscreen reload. This will change the functionality of button 2 to simulate firing off screen, thereby reloading. If you are running a game that needs you to shoot off screen, you will still need to use the -offscreen_reload command. NB, If you are using dual lightguns or another another pointing device attached to your system, remember to enable multimouse. mouse 1, lightgun 0 and dual_lightgun 0.This seems to be one of the top two setups in 0.129. mouse 1, lightgun 1 and dual_lightgun 0.mouse 0, lightgun 1 and dual_lightgun 0.There are a couple setups that seem to work on different computers, lightgun types, and mame versions: Tells you what devices MAME finds connected and their numbers.

Running " mame gamename -verbose" from the command line. There are a couple differences between the two though, and different version of mame handle this differently. Mame now treats Lightguns much the same as mice.


(At the moment this is geared towards Windows XP.) This has affected how analog devices including lightguns are configured. Mame has had its analog input code rewritten in recent times (originally before 0.113, but again before 0.129).
