Update input-helpers.md

I had trouble figuring out the exact syntax for a key press triggered action. An example like this would have saved me some time.