Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
06426 DIP/Input Minor Always Nov 8, 2016, 20:08 Nov 14, 2016, 00:49
Tester evh347 View Status Public Platform
Assigned To Resolution Invalid report OS
Status [?] Closed Driver
Version 0.179 Fixed in Version Build
Fixed in Git Commit Github Pull Request #
Summary 06426: LIGHTGUNS: Aimtrak Lightguns not properly detected
Description In order to get the light guns to register, you have to open up the UI>Configure Options>Device Mapping and cycle the 'Lightgun Device Assignment' to something other than 'Lightgun' and then back to 'Lightgun'.

If you start the game after doing that, the lightgun reticule reacts to the lightgun X/Y axis motion.

If you exit MAME all together, the behavior reverts to not recognizing the lightgun's X/Y axis movement.

The only way to restore lightgun functionality is to go back into the MAME UI>Configure Options>Device Mapping and cycle the 'Lightgun Device Assignment' to something other than 'Lightgun' and then back to 'Lightgun'. and save the configuration upon exiting the UI settings...then launch the game.

If you exit all the way out of the UI, you'll have to do it all over (each time) as the configuration isn't saved when exiting the emulator and the bug resets itself.

This behavior is witnessed with either just one Aimtrak or both Aimtraks connected.

I tried this with several lightgun games (area51, timecris, duckhunt) and the result is the same.

This bug was also present in MAME178.

Aimtrak gun(s) work as a mice outside of MAME as intended.
Steps To Reproduce
Additional Information AimTrak Utility Settings:

http://ultimarc.com/aimtrak.html

Start the utility and make sure it says device 1 and shows the firmware version currently (8.15)

Now,under the configuration tab, make sure you setup the button assignments as follows:

---------On Screen----------Off Screen
TRIG = Mouse LEFT-------Mouse RIGHT
AUX= ----------------------AUX= --------
P1= GP Button 1----------GP Button2
P2= GP Button 3----------GP Button4

Keep the Enable Cal box’s checked for both ON and OFF screen for TRIG, P1, and P2
Under Cal Delay set it at 60 (this is so when your playing games that have continuous fire by holding down the trigger you dont go into calibration mode.)

Make sure the Emulate Mouse circle is checked and then click on “Apply Changes”
Exit the utility.

---------------------------------------
MAME.ini Settings:

#
# CORE INPUT OPTIONS
#
coin_lockout 1
ctrlr SlikStik
mouse 1
joystick 1
lightgun 1
multikeyboard 0
multimouse 1
steadykey 0
ui_active 0
offscreen_reload 1
joystick_map auto
joystick_deadzone 0.3
joystick_saturation 0.85
natural 0
joystick_contradictory 0
coin_impulse 0

#
# CORE INPUT AUTOMATIC ENABLE OPTIONS
#
paddle_device mouse
adstick_device joystick
pedal_device joystick
dial_device mouse
trackball_device mouse
lightgun_device lightgun
positional_device mouse
mouse_device mouse
Github Commit
Flags
Regression Version
Affected Sets / Systems
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
3
User avatar
No.13327
Tafoid
Administrator
Nov 8, 2016, 21:59
-lightgunprovider provider for lightgun input: rawinput, win32 or none

I presume it defaults to rawinput.... try win32 see if it improves your experience
User avatar
No.13328
Fujix
Administrator
Nov 9, 2016, 04:04
I think you should make an inquiry to the gun manufacturer.
User avatar
No.13367
evh347
Tester
Nov 13, 2016, 23:56
Clean install of Win32 version of 179 and deleted all ini files....issue resolved.