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: question about mame and mouse inputs (and light guns)  (Read 1321 times)

0 Members and 1 Guest are viewing this topic.

notaburger

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 175
  • Last login:April 16, 2021, 03:38:49 pm
  • I want my own arcade controls!
question about mame and mouse inputs (and light guns)
« on: January 25, 2009, 01:47:20 pm »
does anyone know if there is a maximum number of mice that can be used in mame?
i have 2 lcd top guns, a trackball, and a wireless mouse hooked up to my arcade
every device fights to control player one but i can't any of them to control player two (player one works quite well)
i use mala and enabled light gun and dual light gun input in the FE

does anyone have an insight?

i guess while i'm asking, i also can't seem to get virtual cop 2 to work at all with the guns (neither player 1 or 2), but it works great with the trackball and mouse

any one else have a similar problem?

notaburger

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 175
  • Last login:April 16, 2021, 03:38:49 pm
  • I want my own arcade controls!
Re: question about mame and mouse inputs (and light guns)
« Reply #1 on: January 25, 2009, 03:44:46 pm »
okay, i've fumbled through getting multiple mouse inputs to show up in mame (apparently i must have tried -multiplemouse instead of -multimouse)

now both are showing up, the only problem is, i can't my second gun (gun 3) to read on its own

it keeps lumping gun 1 in with it

any suggestions?

daywane

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2570
  • Last login:August 29, 2025, 03:53:34 pm
  • GRRRR!
Re: question about mame and mouse inputs (and light guns)
« Reply #2 on: January 25, 2009, 03:59:41 pm »
what OS are you using?
I do not know how to answer your question but I know XP has a problem with multi mice.
I think there is a work around now , Not sure.
been a long time since I tried it.

notaburger

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 175
  • Last login:April 16, 2021, 03:38:49 pm
  • I want my own arcade controls!
Re: question about mame and mouse inputs (and light guns)
« Reply #3 on: January 25, 2009, 04:03:06 pm »
interesting, i turned off mouse input and everything is fine now
oh well

this is the opposite of what is said in the wiki

although, this could be because of the number of mice inputs that i have

the point is, it now works

thanks for the thought though daywane  ;)

u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re: question about mame and mouse inputs (and light guns)
« Reply #4 on: January 26, 2009, 04:06:08 pm »
interesting, i turned off mouse input and everything is fine now
oh well

this is the opposite of what is said in the wiki

although, this could be because of the number of mice inputs that i have

the point is, it now works

thanks for the thought though daywane  ;)

Yeah, there have been some changes in different versions of mame, and it seems some people do better with different settings on the same version of mame. :-\  I'm not sure what's triggering the differences, but you don't more than others here have had.

I'll update the wiki.


And FWIW, mame used to have a limit of four mice/lightguns a long time ago, but that was upped to eight for a while.  Currently (and for a little while now), however, mame has no internal limit.  If there are any OS or hardware limit, mame can't go beyong that, but for winXP/Vista and USB, that's in the hundreds, so don't worry about (if using a recent version of mame).
Robin
Knowledge is Power

Francis2009

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • Last login:February 24, 2014, 03:29:14 pm
Re: question about mame and mouse inputs (and light guns)
« Reply #5 on: April 24, 2009, 04:04:38 pm »
I got a similar problem
I'm using Mamewah with Mame32. with 2 lightguns (guncon2) with wingun

the input are:
lightgun 1 .
  button 1 = mouse 1
  button 2 = mouse 2
lightgun 2.
  button 1 = mouse 3
  button 2 = mouse 4

The problem is when i load the game in mamewah
the lightgun 2 as no input
  lightgun button 1  = N/A

To enable the the lightgun 2 input
i must load the game with the mouse plugged, then remove the mouse and plug the lightgun 2

I have try several things. like modifiing the CFG file.
Reboot the computer with or without teh lightgun and mouse plugged in.
Everything.
No way to make this work

Derrick Renaud

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 299
  • Last login:December 06, 2024, 04:31:44 pm
Re: question about mame and mouse inputs (and light guns)
« Reply #6 on: April 24, 2009, 04:53:30 pm »
First try 0.131.  There have been a lot of fixes added to the lightguns since 0.130.

2nd, if you are using wingun drivers, they do not work as independent mice.  So you can not real time track independently with 2 of them.

For any OS/gun setup that does not report individual guns as separate mice, you need to use -lightgun -dual_lightgun.  The first gun must use mouse buttons 1,2 and the second gun uses 3,4.

3rd, as I have never tried 2 guncon guns with the wingun driver, I can't say if it will even work.  The 2 will probably fight for the mouse cursor if they real time track.  If they only update the cursor position in Windows when the button is pressed, then they should work fine.  But if both guns are trying/fighting to move the cursor in windows then you need to use smogs drivers.
« Last Edit: April 24, 2009, 05:00:09 pm by Derrick Renaud »