Structure

FFCUSTOMFORCE

Contains type-specific information for the CUSTOMFORCE effect.

Declaration

struct FFCUSTOMFORCE

Overview

A pointer to a single FFCUSTOMFORCE structure for an effect is passed in the lpvTypeSpecificParams member of the FFEFFECT structure.

The structure describes a custom or user-defined force.

Topics

Instance Properties

var cChannels: DWORD

Number of channels (axes) affected by this force.

var cSamples: DWORD

Total number of samples in the rglForceData. It must be an integral multiple of the cChannels.

var dwSamplePeriod: DWORD

Sample period, in microseconds.

var rglForceData: LPLONG!

Pointer to an array of force values representing the custom force. If multiple channels are provided, the values are interleaved. For example, if cChannels is 3, the first element of the array belongs to the first channel, the second to the second, and the third to the third.

See Also