1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-12-21 21:29:17 +00:00
8bitworkshop/presets/apple2/keyboardtest.c

17 lines
243 B
C
Raw Normal View History


#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;
}