/Engine/Source/Runtime/UMG/Public/Components/WidgetInteractionComponent.h
Does both the press and release of a simulated keyboard key.
virtual bool PressAndReleaseKey ( [FKey](API\Runtime\InputCore\FKey) Key )