X-Git-Url: http://4ch.mooo.com/gitweb/?p=16.git;a=blobdiff_plain;f=src%2Flib%2F16_in.c;h=14086bd8909381c57da08fa8836a4a881efbc708;hp=98ecb70d117a330213f9fb00a974dda1463ecbbd;hb=c8d0f894b450f6dc3b80fbe28fedff4d424ce294;hpb=af2715fef8681d909afe82f7baaf5e13baabb76f diff --git a/src/lib/16_in.c b/src/lib/16_in.c index 98ecb70d..14086bd8 100755 --- a/src/lib/16_in.c +++ b/src/lib/16_in.c @@ -78,15 +78,21 @@ static word far* clockw= (word far*) 0x046C; /* 18.2hz clock */ extern "C" { #endif -static struct instat { - boolean CapsLock; +/*static struct instat { + boolean CapsLock; ScanCode CurCode,LastCode; boolean Keyboard[NumCodes]; boolean Paused; char LastASCII; ScanCode LastScan; -} inst; +} inst;*/ + +//the def stuff is need fix warnings +#ifndef INSTDEFED +#define INSTDEFED +static inst_t inst; +#endif static byte far ASCIINames[] = // Unshifted ASCII for scan codes {