[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <pc.h> #include <keys.h> int getxkey(void); |
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.
See section getkey.
The key pressed.
ANSI/ISO C | No |
POSIX | No |
while (getxkey() != K_EEnd) do_something(); |