How to trigger an event when a character presses a certain key?

Can somebody tell me how to make a common event trigger when the player presses the 'h' key down? It isnt one of the options for conditional branches. If possible could you make a script that turns on a switch when you press down 'h'?
http://yanfly.moe/2016/01/23/yep-061-button-common-events/


^ That'll do it for you.
@UgoukaThank you 🙂

Original thread: https://forums.rpgmakerweb.com/threads/how-to-trigger-an-event-when-a-character-presses-a-certain-key.60099/