home *** CD-ROM | disk | FTP | other *** search
/ Gold Fish 1 / GoldFishApril1994_CD1.img / d1xx / d169 / src / suplib / dead.c < prev    next >
C/C++ Source or Header  |  1988-11-22  |  429b  |  23 lines

  1.  
  2. /*
  3.  *
  4.  *
  5.  */
  6.  
  7.  
  8. DeadKeyConvert(msg,buf,bufsize,keymap)
  9. struct IntuiMessage *msg;
  10. UBYTE *buf;
  11. int bufsize;
  12. struct KeyMap *keymap;
  13. {
  14.     static struct InputEvent ievent = { NULL, IECLASS_RAWKEY };
  15.     if (msg->Class != RAWKEY)
  16.     return(-2);
  17.     ievent.ie_Code = msg->Code;
  18.     ievent.ie_Qualifier = msg->Qualifier;
  19.     ievent.ie_position.ie_addr = *((APTR *)msg->IAddress);
  20.     return(RawKeyConvert(&ievent,buf,bufsize,keymap));
  21. }
  22.  
  23.