Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Multiple MAME lightguns (again!)  (Read 1263 times)

0 Members and 1 Guest are viewing this topic.

elliotrj

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 17
  • Last login:January 08, 2008, 10:19:24 am
  • Now that's a plumber!
Multiple MAME lightguns (again!)
« on: December 23, 2007, 06:40:03 pm »
Hello there,

I'm trying to set up MAME 0.121 with two EMS lcd topguns.

I couldn't quite find the solution to my problem on here. Here's my situation in a nutshell:

I'm using smog's driver. It recognizes both lightguns as separate devices.
Both guns control the mouse independently on windows.
MAME recognizes the guns separately in that the triggers are "Gun2Button0" and "Gun3 Button0".

However the X and Y analogs for both guns are "Gun1".
Thus, both guns move both cursors but fire separately.

My mame.ini is as follows:

# CORE INPUT OPTIONS
#
ctrlr                     
mouse                     1
joystick                  0
lightgun                  0
multikeyboard             0
multimouse                1
steadykey                 0
offscreen_reload          1
joystick_map              auto
joystick_deadzone         0.3
joystick_saturation       0.85

#
# CORE INPUT AUTOMATIC ENABLE OPTIONS
#
paddle_device             mouse
adstick_device            lightgun
pedal_device              keyboard
dial_device               mouse
trackball_device          mouse
lightgun_device           lightgun
positional_device         keyboard
mouse_device              mouse

...

# INPUT DEVICE OPTIONS
#
dual_lightgun             0

Any thoughts?

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
Re: Multiple MAME lightguns (again!)
« Reply #1 on: December 23, 2007, 10:02:44 pm »
There was a bug in 0.121 using lightguns, apparently it's fixed in 0.122

elliotrj

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 17
  • Last login:January 08, 2008, 10:19:24 am
  • Now that's a plumber!
Re: Multiple MAME lightguns (again!)
« Reply #2 on: December 25, 2007, 07:00:54 am »
 :-\ Ergh. Crap. Alright, thanks for the help.