Trigger Key Press!

It would be really useful for a couple of projects I have been working on recently to have an in house way of triggering a keypress. so for example, when an application received a midi note it can activate a keyboard shortcut in the application in focus.

hopefully this is an easy thing to implement.