The NEW Build Your Own Arcade Controls
Main => Driving & Racing Cabinets => Topic started by: codeena on August 09, 2018, 01:11:56 am
-
Hi all,
Does anyone know of a way, perhaps a program or utility that allows you to set any PC force-feedback/rumble controller button to vibrate constantly when you press and hold it? I've tried XPadder and set the button to rumble when pressed but it stops vibrating once I start a Mame game (works outside of Mame).
Thanks!
-
I can do this if you still want it?
-
I can do this if you still want it?
That'd be great Boomslang. Thanks so much!
-
Does anyone know of a way, perhaps a program or utility that allows you to set any PC force-feedback/rumble controller button to vibrate constantly when you press and hold it?
I'm not sure if it fits your application, but I once did this for a gun shaker motor by using a solid state relay. (into an old school gamport connector)
I can't seem to find the original thread, but I found a pic of the diagram in another thread.
(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=103207.0;attach=167262;image)
-
Thanks Badmouth. Just a bit of info on my project: I have a T2 gun and the pots are using a Microsoft Dual Strike hack and the buttons using a Logitech Rumblepad. The gun does not have the original recoil motors so I placed the Rumblepad's vibration parts (round thingies) into the gun. They're rather mild compared to the arcade recoil but effective enough for me. So I want the gun to vibrate when the buttons are pressed. Unfortunately it's not nearly as cool as the original recoil or how the recoil slows down when the gun is overheating in game.
-
I can't seem to find the original thread, but I found a pic of the diagram in another thread.
To backtrace an image uploaded here, plug the attachment number into forum search. i.e. attach=167262
[img]http://forum.arcadecontrols.com/index.php?action=dlattach;topic=103207.0;attach=167262;image[/img]
Search results include posts containing "attach=167262" where the image is embedded, but don't include the post where the file was originally uploaded.
The oldest post that search kicked back was this one (http://forum.arcadecontrols.com/index.php/topic,100607.msg1144773.html#msg1144773) on December 14, 2010.
Last edit on that post was June 02, 2011.
Checking your posts from June 02, 2011 led to the post here (http://forum.arcadecontrols.com/index.php/topic,103207.msg1190167.html#msg1190167) where you uploaded the improved diagram. :cheers:
Scott
-
For the record, I personally hooked up most of the outputs for positional gun games in mame. If you wanted to buy the mechanisms to repair the guns you could get a lot of use out of them. It would work for your rumble setup as well since mamehooker supports xinput and directx gamepad rumble.
-
For the record, I personally hooked up most of the outputs for positional gun games in mame. If you wanted to buy the mechanisms to repair the guns you could get a lot of use out of them. It would work for your rumble setup as well since mamehooker supports xinput and directx gamepad rumble.
Thank you Howard. I will be sure to try out your mamehooker. And yes, it may be worthwhile to bring the guns to their original state.
-
Ok here ya go
Same instructions as with other FFB Arcade Plugins basically
Ive set options in ini to rumble either Both Motors, Left Motor or Right Motor
set one of those to 1 in ini for how you want it
RumbleStrength for strength (you can go higher then 100 if you want it crazy)
RumbleLength for how long you want it to rumble if you hold button down (if you want it forever if holding button then make this high, otherwise you can lower if you want it to only rumble for a second etc)
As soon as you release buttons then rumble will stop
Ive setup for 10 buttons in ini and defaulted them buttons 0-9 but if you want to know the button number of device you are using, turn on ShowButtonNumbersForSetup and press buttons and it will popup a box telling you the number, replace numbers in ini and then disable ShowButtonNumbersForSetup
Place files in mame folder and run mame. Now exit out of mame
check log.txt for your device GUID number and place into FFBPlugin.ini
Now turn off logging in FFBPlugin.ini and you should be good to go
If app you want to use this on doesn't respond to dinput8.dll then you can rename to either opengl32.dll,d3d9.dll,d3d11.dll or xinput1_3.dll which should cover most games
*EDIT*
Just be aware atm that as soon as you release any of the buttons in ini then rumble will stop even if you are holding a certain button down etc. If this is gonna be a problem then ill have to modify it a bit, i properly shouldn't of defaulted the 10 buttons like that lol
-
Boomslang, you're too kind. This is great; the only thing I can't seem to alter is that the rumble does not stop after releasing the buttons. It continues for a few seconds, no matter how low I set the length. I set it to 0, 1, etc.
Also, I confirmed I need buttons 5 and 6. Do i simply put button5=1 And button6=1? That seemed to work correctly.
Thanks again for your help and file!
-
hm the rumble continues? wierd. On my xbox one controller it stops everytime i release button immediately
but no you would just make the ini like
Button1=5
Button2=6
Button3=99
Button4=99
Button5=99
Button6=99
Button7=99
Button8=99
Button9=99
Button10=99
I'm just putting 99 on the others as i think if you either delete them or just make it like Button5= then it defaults to button 0 which might be something on your controller etc
99 would be a button that would never get used etc so would just make those other buttons do nothing basically
if you could try it out with ini setup correctly and if rumble still continues after you release button then ill have to modify something. What controller are you using etc?
*Edit*
just tested on xbox 360 controller too and rumble stops everytime i release button on that too, i'm just using the default ini as it comes from zip (added guid tho)
-
Unfortunately, same issue. It's approximately 5 seconds of rumble after I release the button.
I have two Logitech Wingman Rumblepad's.
Thanks again
-
I wonder if logitech wingmans are a bit more simple and can't recieve multiple signals at once or something
add to ini
FeedbackLength=
and try some different numbers to see if that changes the 5 second run time although
try something like
FeedbackLength=50
RumbleLength=50
this should just make a short rumble when you press button even if you hold button down etc
-
Thanks but no luck. There s no change in behavior in any way, including rumble time or strength. I believe you're correct about it being a Wingman issue. It's a rather old controller. Perhaps I can find a newer ffb controller to hack and use your utility. Thanks again for everything!
-
Sorry it doesn't work right
It works here fine and its coded to only work for that rumblelength or until button is released so I dont get why it would continue rumbling for 5 seconds each time
Makes no sense
-
Do you have the duration set to infinite, or a set time? When an effect is toggled like that for whatever reason it works more reliably (for me at least) when the duration is set to infinite.
-
It's set to a customizable time that can be modified via ini so anyone can modify it
Unfortunately it works fine for me on my controllers so I'm unsure why it works different for him
try this just incase
removed Rumblelength etc and just made it infinite and also removed all buttons except for 2 options etc
-
Hi Boomslang, still no go but thank you! I will eventually find another controller for my T2 guns :)