tangodown
Posts: 4
Joined: Thu Jun 11, 2020 9:04 am

MAME recoil... how to?

Please see message thread to Ultimarc below. I am trying to output a game controller signal (button press) from my Windows PC to a Ultimarc U-HID
This is a request for help directed to somebody who knows how to code software to output this signal from a PC as 5 volts.
Its to activate the recoil solenoid on my Ghost Squad Gun. I know about Mame Hooker, but I have tried to get this to work, but it just doesn't work on both my PCs. But actually, I don't want to use Mame Hooker because I want to output the trigger signal in other emulators (not only MAME).

Politely, you don't need to know about anything on the gun side of the U-HID. I only need to get a 5 volt signal out of my PC when the PC acknowledges the trigger button press, in Windows - Game Controllers - Preferences Test Screen.
However, to put it in context. I have a working Ghost Squad gun, gun sense board, fuse board and U-HID connected to my windows machine.
I am happy to pay a programmer who knows what I am trying to do and has the knowledge how to do it. I don't expect to get something for nothing. I just don't know where to find a programmer.

Ultimarc:"The U-HID or Pacdrive could be used. Our SDK could be used, which provides API calls to add to custom software which reads the status of the input device and feeds it into the output device with a 40 milliseconds pulse."

Me to Ultimarc: "I have found your SDK (Software Development Kit), on your website, thank you. The problem I have now though is that I don’t know how to get the SDK to read and output the trigger signal.
Is there a tutorial on how to do this, I am willing to learn. Do you know how to do this and can please share with me. Or do you know somebody who can help me with this. I am happy to pay programming costs, I just don’t know anybody who can help me.

To clarify. When I press the trigger on the gun, it sends the button signal through the U-HID to the PC. This signal shows up in the game controller preferences test screen (as a red light), along with the axis and other buttons. I need to try to find this signal in the computer, in the registry or I/O signals somewhere. Its just getting a bit out of my depth.
I don’t know how to write code or scripts. So I am hoping the SDK can do this without me needing to know how to code ect.

If you can please help me I would really appreciate it. I have tried all the arcade forums but I am not having any luck. Actually somebody told me to try asking Ultimarc"

Ultimarc: "To do this you would need to be able to code in VB or C#"

Return to “MAME Discussion”