Choose your operating system:
Windows
macOS
Linux
| FInputEvent
|
Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Input/Events.h |
Include |
#include "Input/Events.h" |
struct FKeyEvent : public FInputEvent
FKeyEvent describes a key action (keyboard/controller key/button pressed or released.) It is passed to event handlers dealing with key input.
Name | Description | |
---|---|---|
|
FKeyEvent() |
UStruct Constructor. Not meant for normal usage. |
|
FKeyEvent |
|
Name | Description | ||
---|---|---|---|
|
GetCharacter() |
Returns the character code for this event. |
|
|
GetKey() |
Returns the name of the key for this event |
|
|
GetKeyCode() |
Returns the key code received from hardware before any conversion/mapping. |
Name | Description | ||
---|---|---|---|
|
IsKeyEvent() |
Is this event a key event. |
|
|
ToText() |