IRawInput::SetAnalogAxisOffset

Sets the offset of the given axis

Windows
MacOS
Linux

References

Module

RawInput

Header

/Engine/Plugins/Experimental/RawInput/Source/RawInput/Public/RawInput.h

Include

#include "RawInput.h"

Syntax

virtual void SetAnalogAxisOffset
(
    int32 DeviceHandle,
    int32 AxisIndex,
    float Offset
)

Remarks

Sets the offset of the given axis

Parameters

Parameter

Description

DeviceHandle

Handle to the device on which to set the offset

AxisIndex

Index of the axis to set. If INDEX_NONE all will be set.

Offset

Value to offset the normalized (and optionally inverted) value by

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss