home *** CD-ROM | disk | FTP | other *** search
/ C++ Games Programming / CPPGAMES.ISO / thx / source / theatrix / keysrvr.cpp < prev    next >
C/C++ Source or Header  |  1995-04-25  |  229b  |  14 lines

  1. #include <fastgraf.h>
  2. #include "keyfold.h"
  3. #include "keysrvr.h"
  4.  
  5.  
  6. void KeystrokeServer::check(Folder& fld)
  7.   {
  8.   unsigned char ascii,aux;
  9.   fg_intkey(&ascii,&aux);
  10.   if (ascii || aux)
  11.     fld.dispatch(ascii, aux);
  12.   }
  13.  
  14.