On screen button mimic a press on keyboard

I want to be able to click a button on a screen and it emulate like I pressed the f key on the keyboard. I dont need to set up what happens when the f key is pressed that is already setup. I want to be able to click on screen and mimic like if i had pressed a specific key on the keyboard.

This is for trying to set up buttons for a mobile game. Thanks for any help

Hi , you just need 1 or more custom events.
connect these events to the same place where is your Fevent. so that when you fire the custom event you get the same result of the F.