Do you recall the thread containing either 1-Up or SirPoonga where they came up with a circuit to drive the solenoid for the feedback mechanism?
It actually was 1Up, but I think Poonga was doing something similar with a Q-bert knocker . . . (and it was a long time ago).
I dug up my reference info on this and it's real similar to what I just posted :-)), but the link below doesn't work. You might try E-mailing 1-Up or Googling for it:
***
What about machine guns?
This is not a major concern of mine, but I did a quick search of the archives of the BYOAC message board. This is where a solution is most likely to appear if someone figures this out. Actually, these can be interfaced. The machine guns (Operation Wolf, Operation Thunderbolt, T2, etc.) are actually just an analog joystick, so the same type of conversion that you would do for the original Star Wars yoke should work for these also. In fact, the newer guns (T2) use a solenoid to produce a recoil effect and this can be hooked up also although it requires a 24 V transformer to hook up. Unfortunately, the T2 guns also would fire slower as the gun heated up or ran low on ammo and I don't think this is implemented in MAME (yet!!!)
The following data was provided by 1-Up: Dave Widel did a hack on the driver for T2 so it sends the recoil signal to the caps lock LED, which can be used to control the recoil in the actual gun with a little electronics hacking. I've done this myself, and I'll post the circuit I used when my site is updated (very soon!!) Meanwhile, you can get the driver HERE (
http://www.1uparcade.com/misc/wmsyunit.c - doesn't work) (right click the link and select "save file as" to get it). You'll need to replace the one in the Mame source and recompile Mame to get it to work.
The main problem I see with this is these guns were designed to be mounted at a fixed height and a fixed distance from the screen and to have a fixed amount of travel. I think you could play with the settings on an arcade cab and get something reasonably close, but it might be hard to get one calibrated correctly so that you could sight down the gun and shoot accurately when you are taking the gun on and off the desktop.
***