struct VirtualAxisCreateInformation

Information used for initializing a virtual axis.

Public

Fields

Type

u32 Type

Type of physical axis to map to.

See InputAxis type for common types, but you are not limited to those values.

DeadZone

float DeadZone

Value below which to ignore axis value and consider it 0.

Sensitivity

float Sensitivity

Higher sensitivity means the axis will more easily reach its maximum values.

Invert

bool Invert

Should the axis be inverted.

Normalize

bool Normalize

If enabled, axis values will be normalized to [-1, 1] range.

Most axes already come in normalized form and this value will not affect such axes. Some axes, like mouse movement are not normalized by default and will instead report relative movement. By enabling this you will normalize such axes to [-1, 1] range.