Struct ForceFeedback
- Namespace
- rF2SharedMemoryNet.RF2Data.Structs
- Assembly
- rF2SharedMemoryNet.dll
Represents the force feedback data structure used in rFactor 2.
public struct ForceFeedback
- Inherited Members
Remarks
This structure provides information about the current force feedback value and versioning updates for synchronization purposes. The version update fields are incremented before and after the buffer is written to, ensuring consistency when accessing the data.
Fields
ForceValue
Represents the current force feedback (FFB) value reported by the InternalsPlugin.
public double ForceValue
Field Value
Remarks
This value indicates the magnitude of the force feedback effect at a given moment. It is typically used in applications that interact with force feedback devices, such as steering wheels.
VersionUpdateBegin
Represents the version number of the buffer at the point when an update begins.
public uint VersionUpdateBegin
Field Value
Remarks
This value is incremented immediately before the buffer is written to, indicating the start of an update. It can be used to track changes or ensure consistency during buffer operations.
VersionUpdateEnd
Represents the version update counter that is incremented after a buffer write operation is completed.
public uint VersionUpdateEnd
Field Value
Remarks
This field can be used to track the completion of buffer write operations. Each time a buffer write is finalized, the value of this counter is incremented.