Main > Main Forum
Question on dual Act-Labs guns to support MAMEdev!!!!
mccoy178:
Someone let this man borrow a lightgun dang it! ;D
Cananas:
Tested 2 PC USB ActLabs (one without switch-older- and other with it -newer dual-). Windows XP SP2:
Mouse 0 is the "windows mouse".
- My PC mouse (PS/2) is detected like mouse 5.
- The First Lightgun (newer) is Mouse 1
- The Second Lightgun (older) is Mouse 2
- I have Mouse 3 and Mouse 4 detected without use.
Both guns work well and recognized like two different mice. Great work!! ;)
For the older gun (without switch), the trigger is button1 and the reload button is button2 of the mouse 1.
The same with the other if is switched to position 1 (trigger is button 1 and reload button is button 2, in this case of the mouse 2). If switched to 2 player mode position, the trigger is button3 and the reload button is button4 of the mouse 2.
On both relative mode (lightgun) is 1.
Values (it depends of the calibration -never good with my actlabs...)
Top/Left botton/right
mouse 1 76,0 65134, 63290
mouse 2 168,0 63426, 63466
As we know, if you shoot off screen, this actlabs keep the coordinates and insert a reload button click (usually button 2 of the mouse). So, because the gun don't track de cursor, the coordinates when you shoot off screen are the coordinates of your last shot to the screen (pushing the trigger).
I still don't test the TV out ActLabs, but I think they work the same.
--- Quote ---Please report the findings with the original Act Labs driver, and the GunCon2 driver if it works.
The reason I ask this, is because just adding RAW Mouse support is not enough. It will work fine with mice/trackballs, but lightguns are different. The drivers need to report as mice.
--- End quote ---
The ActLabs don't use any driver. They are detected by the O.S. like a mouse.
--- Quote ---As I do not have ActLabs guns, I do not know if they only report as 1 mouse no matter what. I don't even know if they use 2 seperate USB connection or are connected to the same box.
--- End quote ---
Each gun have its own USB connection. Only the video out is connected in serial, but is not important. When you connect an ActLabs Gun, the O.S. detect a fourth button mouse, or standard mouse, I think.
If you want to use two actlabs, one of them must have a switch to position 2, that cause the trigger is detected like button 3 and the reload button like button 4.
Derrick Renaud:
--- Quote from: Cananas on March 06, 2006, 03:15:40 am ---Tested 2 PC USB ActLabs (one without switch-older- and other with it -newer dual-). Windows XP SP2:
--- End quote ---
Great. That means we can remove the -dual_lightgun hack. Both guns are independant.
That is all the info I was looking for.
For LCD TopGun, I recomend to use GunCon2 or some other mouse driver. I will have to write to EMS and recomend they change their driver to a mouse driver. Because the current driver will not work.
I posted the current RAW WIP code. It does not yet support Lightguns, and I probably won't get a chance till next weekend.
http://www.mameworld.info/ubbthreads/showthreaded.php?Cat=&Number=67172&page=0&view=expanded&sb=5&o=&fpart=1&vc=1
Thanks for your help,
D.
Silver:
--- Quote from: Derrick Renaud on March 06, 2006, 08:35:50 am ---
--- Quote from: Cananas on March 06, 2006, 03:15:40 am ---Tested 2 PC USB ActLabs (one without switch-older- and other with it -newer dual-). Windows XP SP2:
--- End quote ---
Great. That means we can remove the -dual_lightgun hack. Both guns are independant.
That is all the info I was looking for.
For LCD TopGun, I recomend to use GunCon2 or some other mouse driver. I will have to write to EMS and recomend they change their driver to a mouse driver. Because the current driver will not work.
I posted the current RAW WIP code. It does not yet support Lightguns, and I probably won't get a chance till next weekend.
http://www.mameworld.info/ubbthreads/showthreaded.php?Cat=&Number=67172&page=0&view=expanded&sb=5&o=&fpart=1&vc=1
Thanks for your help,
D.
--- End quote ---
Absolutely awesome work. Huge thanks for working through this change....
MKChamp:
I also want to show you my appreciation for putting this into the core MAME code. To finally be able to play all my games with the latest version of MAME instead of using a MAME/ANALOG+ combo will be great.
Thank you.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version