Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- libc - <b>getxkey</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
getxkey
=======

Syntax
------

     #include <pc.h>
     #include <keys.h>
     
     int getxkey(void);

Description
-----------

Waits for the user to press one key, then returns that key.  Alt-key
combinations have 0x100 added to them, and extended keys have 0x200
added to them.

The file `keys.h' has symbolic names for many of the keys.

getkey:.   

Return Value
------------

The key pressed.

Example
-------

     while (getxkey() != K_EEnd)
       do_something();


See Also: getkey

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson