jwd@iuvax.cs.indiana.edu (Jon Dunn) (07/28/89)
This may be a dumb question, but how to I convert the scan code returned by the AES evnt_keybd() function to an ASCII code? Thanks! Jon Dunn jwd@iuvax.cs.indiana.edu
yleung@ugly.cs.ubc.ca (yue hang leung) (07/30/89)
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.