Force feedback support

Just a quick note:

https://forums.flightsimulator.com/t/support-for-joysticks-force-feedback/350959/19?u=cptlucky8

@Jummivana Force Feedback codebase is not there at all and I believe Martial is thinking about XBox Controller Rumbling instead. This has nothing to do with Force Feedback though otherwise I believe it would be picked up automatically if FS2020 is already implementing both XInput and DirectInput isn’t it?

Rumbling is an XInput feature:

Furthermore, XInput has support for force feedback with rumble, and just rumble. Calling the force feedback functions do nothing, and the XInput caps structure reports force feedback is not available. Xinput only supports rumble, not full force feedback. XInput was build to support the Xbox360 controller and only supports features those controllers provide, it has no provisions for additional buttons, axes or full force feedback. All that stuff from DirectInput was left behind to create a much simpler API.

Force Feedback is a DirectInput feature:

DirectInput | Microsoft Learn
DIEFFECT Structure | Microsoft Learn

Further reading:

It would be great if Martial would answer with the same level of technical knowledge and passion as Sebastian because there are lots of us looking forward to this level of technical information in the Q&A, and this would give a little more credibility to what is said in the Q&A too…

3 Likes