FInputKeyEventArgs

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()

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback