UPlayerInput::KeyEventOccurred

Key event processing

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerInput.h

Include

#include "GameFramework/PlayerInput.h"

Source

/Engine/Source/Runtime/Engine/Private/UserInterface/PlayerInput.cpp

Syntax

bool KeyEventOccurred
(
    FKey Key,
    EInputEvent Event,
    TArray< uint32 > & EventIndices,
    const FKeyState * KeyState
) const

Remarks

Key event processing

Returns

true if just pressed

Parameters

Parameter

Description

Key

name of key causing event

Event

types of event, includes IE_Pressed

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