[ TDx_Input_Library ]
[ next: TDICustomForce ]
[ prev: TDICondition ]
class TDIConstantForce : public TComponent
class PACKAGE TDIConstantForce : public TComponent
class type : Wrapper
If you would like to submit additions or improvements to this page, click: admin@bcb-tools.com.
DESCRIPTION
Top
Properties
Methods
Events
See Also
The TDIConstantForce component wraps the DirectX DICONSTANTFORCE structure, which contains type specific information for force feedback effects that have the DIEFT_CONSTANTFORCE option set.
It is used to define a 'Constant Force', which is a force that has a defined magnitude and duration.
You can apply an envelope to a constant force but not an offset.
Only the magnitude of the force is defined by this component, the duration is set in TDIEffect::Duration.
Use this component by setting TDIEffect::TypeSpecificParams to refer to a single TDIConstantForce component.
To create a constant force, use the TDx_InputDevice::CreateEffect() method and pass the following as the GUID parameter:
GUID_ConstantForce
PROPERTIES
Top
Properties
Methods
Events
See Also
ErrorValue
Magnitude
Size
METHODS
Top
Properties
Methods
Events
See Also
Clear
EVENTS
Top
Properties
Methods
Events
See Also
OnError
SEE ALSO
Top
Properties
Methods
Events
See Also
TDIEffect
TDIEffectInfo
TDx_InputDevice::CreateEffect()