IRawInput::SetAnalogAxisIsInverted

Set whether an axis is inverted

Choose your operating system:

Windows

macOS

Linux

References

Module

RawInput

Header

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

Include

#include "RawInput.h"

Syntax

virtual void SetAnalogAxisIsInverted
(
    int32 DeviceHandle,
    int32 AxisIndex,
    bool bInvert
)

Remarks

Set whether an axis is inverted

Parameters

Parameter

Description

DeviceHandle

Handle to the device on which to set the axis inverted.

AxisIndex

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

bInvert

Whether the axis is to have its value inverted or not