What does your process code look like? This can make all of the difference in the world. Also what are you using to process keyboard commands?