Send input when shooting in uefn

Is there a way to send an event in verse when the player shoots? I Looked for it in the api documentation but i can't find anything, any help?