1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-15 15:57:13 +00:00

Update commentary for LispKbdFd, remove unused LispWindowFd extern reference

This commit is contained in:
Nick Briggs 2023-01-06 12:14:09 -08:00
parent ade2b1461a
commit 9d40ecd77a

View File

@ -68,7 +68,6 @@ extern KbdInterface currentkbd;
extern DspInterface currentdsp;
#endif /* DOS */
extern int LispWindowFd;
int LispKbdFd = -1;
extern fd_set LispReadFds;
@ -193,15 +192,14 @@ static u_char DOSLispKeyMap_101[0x80] = {
void init_keyboard(int flg) /* if 0 init else re-init */
{
set_kbd_iopointers();
/* if using a raw keyboard, LispKbdFd would be the result of opening /dev/kbd
* and it would be added to LispReadFds to generate keyboard events
*/
if (flg == 0) { keyboardtype(LispKbdFd); }
#if XWINDOW
init_Xevent(currentdsp);
#elif DOS
if (flg == 0) { /* Install the handlers ONLY when we */
/* init the kbd the init the kbd the */