avengerx / LeadershipTwinTurboWheelFFBDriver

Force Feedback driver for Leadership Gamer Twin Turbo Steering Wheel (model 1021)
GNU General Public License v3.0
2 stars 0 forks source link

Complete the ConstantForce effect #2

Closed avengerx closed 1 year ago

avengerx commented 1 year ago

The ConstantForce effect doesn't seem to conform to MS documentation as for ranges and its feedback.

Also, if direction is 0, no vibration happens, no matter how the force is set.

avengerx commented 1 year ago

Fixed by completely reworking the code. There are still some minor aspects to correct, but at the moment it pretty much works fine in applications that use the effect.

The direction issue was fixed by completely removing the related code. Now big/small actuators are identified by their binary code sent as axis identifier. I don't know where applications are finding the actuators, but they are querying the download function without passing either object type (ids/offsets), but only coordinate system (cartesian; sometimes polar; spherical is reported as unsupported by the joystick OEM DIEFFECTATTRIBUTES).

Related commits: