Game Development Community

TGE/DirectInput Gamepad Rumble/Force Feedback

by CSMP · in Torque Game Engine · 10/16/2009 (2:19 am) · 5 replies

I have looked in various areas and it seems that TGEA/XInput supports Gamepad rumble, I was wondering if TGE/DirectInput has a rumble feature as well, also does TGE even have XInput?

If not how hard would it be to port to TGE and where would I get a hold of the files needed?

Also, If XInput had to be used would there be any chance of only using XInput for the rumble feature and still keep all the DirectInput binds?

Sorry for all the questions, but it would be awesome to have rumble!

#1
10/16/2009 (5:28 am)
It is possible without using XInput, but requires a lot of changes to the direct input code in TGE. If you want a good guide to look at, click here.
#2
10/16/2009 (6:50 am)
Thanks, I'm gonna give this a try and I'll be sure to let you know what I come up with.
#3
10/16/2009 (2:04 pm)
Oh, I should point out though, XInput is required for the XBox 360 controller, but FF and rumble for just about any other controller will work fine. Microsoft are extremely ghey in that regards.
#4
10/16/2009 (6:26 pm)
Good to know.
#5
10/16/2009 (11:12 pm)
OK, In the prospect of having a game sometime soon I'm gonna go ahead and give up on this...

There was a couple areas that I could decode but the main bulk of the code that would be needed for adding torque compatible consolefunctions and etc I would not even know where to begin so I'm labelling this beyond my current skill level.

Thanks for the pointer though Paul, I may just wait until I get ahold of TGEA for this functionality. :)