Keyboard help

I have a website designed, which simulates Windows live messenger for a movie. I need to be able to configure an action when pressing a button on the laptop keyboard. When configuring Key trigger I can't get it to work. I don't know if I'm missing something in Input or if the problem is somewhere else. Can you help me?