Help! How could one Create a button in a UI to press a keyboard key?

Basically i want a widget button to press a keyboard key. Or a Widget to activate a player input event. For my mobile game.

I cant find any way to do this with blueprints.