without to press enter key

guys i forgot how this goes..

example:

Press 1 to Jumble word
Press 2 to Twist The Word

.. i need to know that when 1 press 1 it automatically do the function without pressinbg the enter key. :D

tnx. for the help
Here's an example for Windows: http://www.cplusplus.com/forum/beginner/33659/
Topic archived. No new replies allowed.