1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-11-27 01:51:35 +00:00
8bitworkshop/presets/apple2/keyboardtest.c
2018-08-23 21:15:33 -04:00

17 lines
243 B
C

#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#include <conio.h>
int main (void)
{
printf("\nKeyboard Test\n");
while (1) {
char ch = cgetc();
printf("%3d ($%2x) = %c\n", ch, ch, ch);
}
return EXIT_SUCCESS;
}