Main > Lightguns
Light Gun Interface
<< < (8/15) > >>
u_rebelscum:

--- Quote from: DanteBK on October 12, 2004, 10:57:12 pm ---
--- Quote from: Howard_Casto on September 04, 2004, 03:10:08 pm ---analog mame supports two just fine.

--- End quote ---

MAME32 has options for:

Enable Lightgun
Reload
Dual Lightguns

Has anyone tested these? I only ever hear people mention analog mame.

--- End quote ---

Official mame's (and mame32's) "Dual lightgun" support only works if one gun's trigger is mouse button 1, the other gun's trigger is mouse button 3.

Official mame's (and mame32's) "Reload" is designed to translate all mouse button 2 presses to reload (and with the "dual lightgun", a mouse button 4 press as player 2 reload).  You can't remap this.

Official mame's (and mame32's) "lightgun" is just like enabling mice, except the cursor position is polled (instead of polling relative movement like with enabling mice).
exibar:
Still no word from Jack about the sample development board :-(

  I'll ping him today and see how it goes, I'll report back here later tonight.

  Mike B
clanggedin:
Also there is no way to map Lightgun2 X and Y in Official mame right now. It maybe possible, but no one in the mame developer forums can show me how.
u_rebelscum:

--- Quote from: clanggedin on October 13, 2004, 11:20:35 am ---Also there is no way to map Lightgun2 X and Y in Official mame right now. It maybe possible, but no one in the mame developer forums can show me how.

--- End quote ---

Currently, you have to edit the cfg (or better, the ctrlr) file in a text editor.

Instead of "GUNCODE_1_ANALOG_X", put "GUNCODE_2_ANALOG_X" (same with Y axis).  Hmm, I've been having probs with guncode; try "MOUSECODE_2_ANALOG_X" or "MOUSECODE_3_ANALOG_X" if guncode doesn't work.

Of course, mame has to able to see the guns as seperate devices, which ofiicial mame does in win9x, but I don't think so in winXP.
Billkwando:
I'm new here but fairly experienced with building arcade controls for Neo Geo and such..but I have what is probably a ridiculously dumb question in reference to this thread.

If MAME drivers hadn't been written with the mouse in mind, what would stop one from interfacing a console gun with the PC?

For example, I have a few different Tigergame/Mayflash adaptors I use to play PC games with my XBox controllers (such as my XBox flight stick which ownz). The other day I thought it would be fun to hook my Dual PSX/Saturn lightgun to my PSX to Xbox adaptor, and then hook my PSX to Xbox adaptor to my XBox to USB adaptor, then my Xbox to USB adaptor to the PC to see if "we get signal". (Phew!!)

Well, sure enough when I hooked it all up and went into the windows calibration utility, and it recognizes button presses from any of the buttons including the trigger.

What I'm wondering is since lightgun games are made to work with "raw" lightguns, if we had a "raw" mame driver (read: non mousified), shouldn't you be able to calibrate the gun and use it as normal?? (I should mention I use TV-Out here I think)

I mean, assuming that there's not a contact in the PSX controller port that's only used by lightguns, the data from the sensor has to be going somewhere, right? I suppose the question would be where?

Am I on to something, or as usual missing something painfully obvious that throws an 8 foot monkey wrench into the equation?

Thanks!
Bill
Navigation
Message Index
Next page
Previous page

Go to full version