Article View: comp.sys.atari.st
Article #2693Re: evnt_keybd
From: yue hang leung
Date: Sat, 29 Jul 1989 17:10
Date: Sat, 29 Jul 1989 17:10
7 lines
827 bytes
827 bytes
In article 17102 <23916@iuvax.cs.indiana.edu> Jon Dunn wrote: >This may be dumb question, but how do I convert the scan code >returned by the AES evnt_keybd() function to ASCII code? Try masking out the higher byte of the integer that is returned. Or you can try casting the integer to a char. The resulting byte should be the ASCII code.
Technical Details
Message-ID:
<4612@ubc-cs.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!ubc-cs!ugly.cs.ubc.ca!yleungShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!ubc-cs!ugly.cs.ubc.ca!yleung From: yleung@ugly.cs.ubc.ca (yue hang leung) Newsgroups: comp.sys.atari.st Subject: Re: evnt_keybd Message-ID: <4612@ubc-cs.UUCP> Date: 29 Jul 89 17:10:33 GMT Sender: news@cs.ubc.ca Reply-To: yleung@ugly.cs.ubc.ca (yue hang leung) Organization: UBC Department of Computer Science, Vancouver, B.C., Canada Lines: 7 In-reply-to: jwd@iuvax.cs.indiana.edu (Jon Dunn)