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

Support for DIEP_START, DIEP_NORESTART, DIEP_NODOWNLOAD while setting up effects. #14

Open avengerx opened 1 year ago

avengerx commented 1 year ago

These settings come from DownloadEffect()'s dwFlags argument, documented at:

Client app perspective Driver perspective

For reference, the description of the flags are as follows:

DIEP_START

Indicates that the effect is to be restarted from the beginning after the parameters of the effect have been updated. Note that the DIEP_NODOWNLOAD flag overrides the DIEP_START flag.

DIEP_NORESTART

If this flag is not specified, the effect device driver is permitted to restart the effect if doing so is necessary to change the specified parameters. Note that the DIEP_NODOWNLOAD and DIEP_START flags override this flag.

DIEP_NODOWNLOAD

Suppresses the automatic download that is normally performed after the parameters are updated. If this flag is set, the driver should validate parameters without performing an actual download.

avengerx commented 1 year ago

This is a subset of what #10 proposes to implement.