IRawInput::BindAnalogForDevice

Register axis/analog on a device to send input events with a given name

Windows
MacOS
Linux

References

Module

RawInput

Header

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

Include

#include "RawInput.h"

Syntax

virtual void BindAnalogForDevice
(
    int32 DeviceHandle,
    FName KeyName,
    int32 AxisIndex
)

Remarks

Register axis/analog on a device to send input events with a given name

Parameters

Parameter

Description

DeviceHandle

Device handle to bind to

KeyName

Name of key to emit (e.g FRawInputKeyNames::GenericUSBController_Axis1)

AxisIndex

Index of the axis/analog to bind

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