home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
cenvi23.zip
/
KEYCODE.CMM
< prev
next >
Wrap
Text File
|
1996-01-24
|
375b
|
11 lines
//****************************************************
//*** KeyCode - Print values of characters pressed ***
//*** ver.1 ***
//****************************************************
printf("Press Key to see keyboard value; Press ESCAPE to exit\n");
do {
key = getch();
printf("key=%04X\n",key)
} while( key != '\033' );