Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!stanford.edu!msi.umn.edu!umeecs!heavy From: heavy@zip.eecs.umich.edu (Richard Scott Hall) Newsgroups: comp.sys.atari.st.tech Subject: Getting ASCII value from scancode Summary: How do I do it? Keywords: Progammingm, C Message-ID: <1991Apr26.232519.12216@zip.eecs.umich.edu> Date: 26 Apr 91 23:25:19 GMT Sender: Richard Hall ( heavu@zip.eecs.umich.edu ) Distribution: all Organization: University of Michigan EECS Dept. Lines: 18 I am having a problem. It is quite easy to get the scancode for a key being pressed (by using evnt_keybd/envt_multi), but it is a little harder if you just want the ASCII value. For instance: it is possible to press any ALT+ sequence in my program. When I get a keyboard event, I get the keyboard state from vq_key_s() (i.e. shift/control/alt), but I get the scancode from evnt_keybd/multi. So i guess what I am asking, is there anyway to go from scancode to ASCII without having to define all the values in my program? Richard Hall University of Michigan -- Standard disclaimer: I am not me, I am who you think you are... so don't blame me.