Detect when a key was pressed - impossible?!

Hi.

Im getting kinda frustrated as I try to come up with a simple way of telling when a key was just pressed… I’ve used both senoculars KeyObj class and the KEY_DOWN event, but i dont quite work as a would want the to work (if i press enter I get a zillions events - i just want ONE).

How should I be handeling the problem?