Skip to main content

Struct FanatecWheelState

The Fanatec Wheel's state struct, which reports the memory format to the input system.

public struct FanatecWheelState : IInputStateTypeInfo

Implements​

IInputStateTypeInfo

Fields​

reportId​

The raw report ID sent by the Fanatec wheel.

public byte reportId

Field Value​

byte

steer​

The normalized and clamped steering input value from the wheel.

public float steer

Field Value​

float

Remarks​

normalizeMin=0.4 and normalizeMax=0.6 are hardware-calibrated constants for the DD2. With normalizeMin=0.4 and normalizeMax=0.6, any raw input <= 0.4 outputs 0, any input >= 0.6 outputs 1, and values in between scale proportionally. These values were measured against the physical unit to map the actual hardware range to the [-1, 1] axis that PrometeoCarController expects.

Properties​

format​

The FourCC code that represents the Fanatec Wheel's input format, specified as 'HID' as the wheel is an HID.

public FourCC format { get; }

Property Value​

FourCC