TSdlHapticLeftRight
A record containing a template for a Left/Right effect.
This record is exclusively for the TSdlHapticKind.LeftRight effect.
The Left/Right effect is used to explicitly control the large and small motors, commonly found in modern game controllers. The small (right) motor is high frequency, and the large (left) motor is low frequency.
Definition
Unit: Neslib.Sdl3.Haptic
See Also
Properties
Name | Description |
---|---|
Kind | TSdlHapticKind.LeftRight |
LargeMagnitude | Control of the large controller motor. |
Length | Duration of the effect in milliseconds. |
SmallMagnitude | Control of the small controller motor. |
Property Descriptions
Kind
TSdlHapticKind.LeftRight
property Kind: TSdlHapticKind read GetKind write SetKind
Type: TSdlHapticKind
LargeMagnitude
Control of the large controller motor.
property LargeMagnitude: Word read FHandle.large_magnitude write FHandle.large_magnitude
Type: Word
Length
Duration of the effect in milliseconds.
property Length: Cardinal read FHandle.length write FHandle.length
Type: Cardinal
SmallMagnitude
Control of the small controller motor.
property SmallMagnitude: Word read FHandle.small_magnitude write FHandle.small_magnitude
Type: Word