FInputKeyEventArgs

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/UnrealClient.h

Include

#include "UnrealClient.h"

Syntax

struct FInputKeyEventArgs

Variables

Name Description

Public variable

float

 

AmountDepressed

For analog keys, the depression percent.

Public variable

bool

 

bIsTouchEvent

Input came from a touch surface.This may be a faked mouse button from touch.

Public variable

int32

 

ControllerId

The controller which the key event is from.

Public variable

EInputEvent

 

Event

The type of event which occurred.

Public variable

FKey

 

Key

The type of event which occurred.

Public variable

FViewport *

 

Viewport

The viewport which the key event is from.

Constructors

Name Description

Public function

FInputKeyEventArgs

(
    FViewport* InViewport,
    int32 InControllerId,
    FKey InKey,
    EInputEvent InEvent
)

Public function

FInputKeyEventArgs

(
    FViewport* InViewport,
    int32 InControllerId,
    FKey InKey,
    EInputEvent InEvent,
    float InAmountDepressed,
    bool bInIsTouchEvent
)

Functions

Name Description

Public function Const

bool

 

IsGamepad()