home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-385-Vol-1of3.iso
/
t
/
tel2305s.zip
/
KEYMAP
/
TESTMAP.C
< prev
next >
Wrap
Text File
|
1990-08-06
|
380b
|
17 lines
#include <stdio.h>
#include <stdlib.h>
extern unsigned int n_newgetchar(void );
extern void install_keyboard(void );
extern unsigned char keyboard_type;
main()
{
unsigned int c;
install_keyboard();
printf("keyboard_type=%u\n",(unsigned int)keyboard_type);
while(1) {
c=n_newgetchar();
printf("c=%u, %X\n",c,c);
} /* end while */
} /* end testmap() */