/Engine/Source/Runtime/SlateCore/Public/Input/Events.h
FKeyEventdescribes a key action (keyboard/controller key/button pressed or released.) It is passed to event handlers dealing with key input.
struct FKeyEvent : public [FInputEvent](API\Runtime\SlateCore\Input\FInputEvent)