Hello,

I've searched for this but couldn't find anything.
Is it possible to detect what key from a keyboard has been pressed?

For example, how do I determine if 'f' or '5' or 'enter' is pressed?

I'm thinking of a couple of scenarios:
1. Accept only numeric values
2. Pressing enter calls another function.

Any help and examples would be greatly appreciated.

Cory