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: Act Labs Gun Questions  (Read 2367 times)

0 Members and 1 Guest are viewing this topic.

Mike

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 307
  • Last login:September 22, 2005, 01:22:14 pm
  • Umm, yea about the TPS report
Act Labs Gun Questions
« on: February 13, 2003, 03:48:42 pm »
I've been thinking about getting an act-labs gun and I was wondering since it acts like a mouse device if it shows up under Control Panel/Mouse. The reason I was wonder is because I was thinking if it did you could hook up 2 of them. And set one to fire a left mouse click and the other to fire a right mouse click and then possibly modify the mame source to read the left mouse click as player 1 and the right mouse click as player 2. And it wouldn't make a difference if they shared the same axis because it would be the right vs left mouse click that determined which player fired. This was just a thought on how to get a two player version working. I'd be interested on any feedback of this being possible.

hyiu

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1481
  • Last login:August 29, 2014, 05:36:15 am
  • too many games... too little time....
    • www
Re:Act Labs Gun Questions
« Reply #1 on: February 13, 2003, 04:01:47 pm »
but even if what you say works....
the 2 mouses (light guns) will be pointing to the exact same place all the time ?!?!... :o
I don't think that will work...

actually... if you search back... there are quite a few topics about lightgun.... (and guys here discussed a lot of details on what can be done to get 2 light guns up.... if I understand it correctly... so far.... no success....)

and since I'm lazy and stupid.... I'll wait until a package comes out... then save $$... buy it.. plug it in.. and play....
 :P

don't mean to pour cold water on you....
Another Brilliant mind ruined by education....  :p

rampy

  • *shrug*
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2910
  • Last login:March 02, 2007, 11:32:16 am
  • ...as useless as a JPG is to Helen Keller
    • Build Your Own PVR
Re:Act Labs Gun Questions
« Reply #2 on: February 13, 2003, 04:18:48 pm »
here's a thread of discussion that goes into lots of detail.. and dr j tested 2 usb actlab guns at the same time with not so hot performance...

summary: its not currently possible (unless someone did some serious hacking/custom driver/mame support that no one knows about)

rampy

BASSOFeeSH

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 255
  • Last login:May 29, 2009, 12:46:42 am
  • TD-2779
    • Trooper Armor
Re:Act Labs Gun Questions
« Reply #3 on: February 13, 2003, 04:18:56 pm »
p.s. Only 2 weeks left(2/28) to pre-order an the TV version!

eightbit

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1849
  • Last login:September 07, 2019, 07:38:11 pm
  • My cab is never done...
Re:Act Labs Gun Questions
« Reply #4 on: February 14, 2003, 01:20:24 am »
p.s. Only 2 weeks left(2/28) to pre-order an the TV version!
Anybody heard how many orders they got? Do they have enough for production?
My statements are my own opinions. They have the value that the reader gives them. My opinion of my opinion varies between foolish and brilliant and these opinions often change with new information.

brandon

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 817
  • Last login:June 08, 2025, 02:40:01 pm
  • I <3 arcade games.
Re:Act Labs Gun Questions
« Reply #5 on: February 14, 2003, 04:13:33 am »
well... You can easily use 2 different mice independantly with Mame Analog+ so why couldn't the same setup be used with the Actlabs guns?  I wish somebody would test this... I dont see any reason why it wouldn't work but I dont want to shell out the $$$ just to find out...  It would be OS dependant of course since the newer versions of Windows don't support multiple mice but if somebody could get this working it would be great.  Actlabs would sell a lot more guns too... I know I'd buy one... or two... ;D

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8188
  • Last login:July 20, 2025, 03:37:24 pm
  • The Bears Still Suck!
Re:Act Labs Gun Questions
« Reply #6 on: February 14, 2003, 04:50:12 am »
well... You can easily use 2 different mice independantly with Mame Analog+ so why couldn't the same setup be used with the Actlabs guns?  I wish somebody would test this... I dont see any reason why it wouldn't work but I dont want to shell out the $$$ just to find out...  It would be OS dependant of course since the newer versions of Windows don't support multiple mice but if somebody could get this working it would be great.  Actlabs would sell a lot more guns too... I know I'd buy one... or two... ;D

This is easy to answer.   Until act labs figures out how, you can only have one gun plugged into your video card.

unclet

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3561
  • Last login:March 17, 2025, 11:51:15 am
Re:Act Labs Gun Questions
« Reply #7 on: February 14, 2003, 08:30:52 am »
I pre-ordered my TV light gun in early January and called them recently and it seems they are very close in meeting their pre-order limit and told me they would most likely go into production.

Also, I asked them whether they would be making a set of guns which could work together at the same time and they informed me they are currently thinking about doing this.....

Although ... .PLEASE PRE-ORDER YOUR GUN TODAY ......just to make sure I get mine.....:>)

rampy

  • *shrug*
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2910
  • Last login:March 02, 2007, 11:32:16 am
  • ...as useless as a JPG is to Helen Keller
    • Build Your Own PVR
Re:Act Labs Gun Questions
« Reply #8 on: February 14, 2003, 10:41:02 am »
well... You can easily use 2 different mice independantly with Mame Analog+ so why couldn't the same setup be used with the Actlabs guns?  I wish somebody would test this... I dont see any reason why it wouldn't work but I dont want to shell out the $$$ just to find out...  It would be OS dependant of course since the newer versions of Windows don't support multiple mice but if somebody could get this working it would be great.  Actlabs would sell a lot more guns too... I know I'd buy one... or two... ;D

see SirP's answer.. and browse that thread I posted...

I thought the same thing but without some sort of uber modification to MAME/gun drivers it won't work (very well) because the gun appears as a windows system mouse which is a composite of all the mouses (meeses?) on the system.  I tried something simliar with Analog Mame with 2 different types of guns (one actlabs and the other PC auto mag) and it didn't work... I tried just getting Act Labs gun to work one player and my trackball to work independently as another player and no dice (ps/2 mouse hack trackball fYI)

I don't mean to discourage you if you do have a new idea please try it or share the idea... but *shrug* right now there doesn't seem to be a viable option out there.

good luck,

rampy

brandon

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 817
  • Last login:June 08, 2025, 02:40:01 pm
  • I <3 arcade games.
Re:Act Labs Gun Questions
« Reply #9 on: February 14, 2003, 03:44:27 pm »
hey Rampy.. were both the guns USB?  It my understanding that Analog+ only sees the mice as independent if they are both USB and the OS is WIN95, 98, or ME...  I guess if you cant connect both to the video card then that would be a problem..  Its probably just looking for a sync signal which you could possibly split off to a 2nd gun... I dunno,  I just really want this to work! ;D
« Last Edit: February 14, 2003, 03:45:15 pm by brandon »

rampy

  • *shrug*
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2910
  • Last login:March 02, 2007, 11:32:16 am
  • ...as useless as a JPG is to Helen Keller
    • Build Your Own PVR
Re:Act Labs Gun Questions
« Reply #10 on: February 14, 2003, 03:48:17 pm »
Brandon, no... for me they weren't... one was ps/2 or serial (and part gameport)  and the other is of course act labs usb gun,,, I just ran the monitor blanker/passthru cables in series... that didn't seem to be an issue...

Dr.j is the guy who tried two usb act lab guns with mixed success and not really success...

*shrug*
rampy
PS yes we all very badly want 2 stupid guns to work at the same time too =P

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:Act Labs Gun Questions
« Reply #11 on: February 14, 2003, 09:12:34 pm »
Dr.j is the guy who tried two usb act lab guns with mixed success and not really success...

*shrug*
rampy
PS yes we all very badly want 2 stupid guns to work at the same time too =P

Yes guys, please read the thread rampy linked.  But here's a summary of the relevant parts of the thread, anyway.

Two actlab USB lightguns "work" in analog+ if both guns don't shot at the same time.  If they shot at the same time, they shot the same place.  Tested by Dr.J.

This is because mame (and mame:Analog+) use win32 api get the lightgun location, but directX for mouse/trackball location and lightgun/mouse/trackball buttons.  Analog+ can seperate USB data through directX but not win32 api.  Neither the original lightgun function writer nor I can find a directX way of accurately reading the lightgun screen location, thus the use of win32 api.  Win32 api doesn't seperate mouse data.  Thus why analog+ & 2 actlab lightguns don't work well.

Anything like trying to have different buttons for different players will run into the same problem as above unless a hardware delay is added to prevent same time trigger pulls from being seen as such in windows.
Robin
Knowledge is Power

mc-escher

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19
  • Last login:April 20, 2003, 01:23:40 am
  • All I wnt fr xmas is a mallet &amp; a bucket of smurfs
    • MCP01
Re:Act Labs Gun Questions
« Reply #12 on: February 15, 2003, 12:05:12 pm »
Does anyone have links to any specs that say exactly
how the USB joystick interface is different than the mouse
interface?  

I mean if it's just signaling headers, it might not
be to impossible to create a little passthrough circuit that changes the
device signature so that it is seen as a Joystick instead of mouse.

Just a theory, as two joysticks are easily supported independantly.
MCP01
http://cryptnet1.net/mame
escher@muppetclan.com

1UP

  • Token Junkie
  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2081
  • Last login:November 11, 2014, 01:37:18 am
  • Yes, that is a joystick in my pocket.
    • 1UPArcade
Re:Act Labs Gun Questions
« Reply #13 on: February 15, 2003, 05:52:11 pm »
I think the answer is simple:  if the currently existing Act Labs guns could be used in tandem by such a simple trick, don't you think Act Labs would know about it and tell us how?  They'd sell twice as many guns that way...

Even if you got two hooked to the video card, they would still be fighting over control of the mouse.  Have you ever hooked up two mice, and had two people try to control where the arrow goes?  Neither person has complete control, and so neither one can click where they want to.  Just a big mess.

Free resource for building your own rotating control panels!

My other job...


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:Act Labs Gun Questions
« Reply #14 on: February 15, 2003, 08:18:20 pm »
Does anyone have links to any specs that say exactly
how the USB joystick interface is different than the mouse
interface?  

I mean if it's just signaling headers, it might not
be to impossible to create a little passthrough circuit that changes the
device signature so that it is seen as a Joystick instead of mouse.

Just a theory, as two joysticks are easily supported independantly.

USB protocol goes something like this, simplified:

* The device is plugged and says "hey, computer here I am"
* windows says, "who are you"
* device says "I have manufacture ID # xyzabc123"
* windows looks for that ID first if it has drivers installed for in or in the inf files in it's INF folder.  
* If the windows driver is not installed:
--If it finds the ID, it uses whatever drivers the inf file tells it to.
--If it cannot find the ID, windows asks the user to install the floppy or CD with an inf file containtining that ID and the needed drivers (if non-standard windows drivers).
* windows sends the device an internal driver, and if needed installs the matching windows driver.

The actual data format sent once the drivers are setup depends on how the drivers tell the device to communicate.

If you a write a USB driver for the lightgun to use and edit the inf file so windows will use that driver instead of the mouse driver, you could use the lightgun as a joystick.

However, there are problems with joystick lightguns.  In a nutshell, there are a lot of settings that directX uses for joysticks that with totally screw up the calibration of a joystick lightgun.  Only with all the joystick settings perfectly setup will joystick lightguns be as accurate as mouse lightguns, AFAI can tell.  I can go into depth if you want.
Robin
Knowledge is Power