Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!psuvax1!rutgers!cbmvax!peter From: peter@cbmvax.commodore.com (Peter Cherna) Newsgroups: comp.sys.amiga.programmer Subject: Re: Converting RAWKEY to ASCII, a request for a How To?? Message-ID: <20730@cbmvax.commodore.com> Date: 18 Apr 91 14:26:30 GMT References: <21925@shlump.nac.dec.com> <1991Apr17.161732.27842@omews63.intel.com> <1991Apr18.100248.9117@engin.umich.edu> Reply-To: peter@cbmvax.commodore.com (Peter Cherna) Organization: Commodore-Amiga, Inc. West Chester, PA. Lines: 25 In article <1991Apr18.100248.9117@engin.umich.edu> baronz@caen.engin.umich.edu (Aaron L Richards) writes: >LONG DeadKeyConvert(msg,kbuffer,kbsize,kmap) /* From RKM pg 197 */ ... >ievent.ie_Code=msg->Qualifier; This should be two lines, namely: ievent.ie_Code=msg->Code; ievent.ie_Qualifier=msg->Qualifier; Incidentally, starting with 2.0, if you set both RAWKEY and VANILLAKEY IDCMP flags, you will receive a VANILLAKEY message if the key pressed can be represented as a VANILLAKEY, and you'll hear a RAWKEY otherwise. Peter -- Peter Cherna, Operating Systems Development Group, Commodore-Amiga, Inc. {uunet|rutgers}!cbmvax!peter peter@cbmvax.commodore.com My opinions do not necessarily represent the opinions of my employer. "If all you have is a hammer, everything looks like a nail."