Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!math.fu-berlin.de!fauern!faui43.informatik.uni-erlangen.de!csbrod From: csbrod@immd4.informatik.uni-erlangen.de (Claus Brod) Newsgroups: comp.sys.atari.st.tech Subject: Re: Getting ASCII value from scancode Message-ID: <1991Apr29.083347.12706@informatik.uni-erlangen.de> Date: 29 Apr 91 08:33:47 GMT References: <1991Apr27.172516.29313@zip.eecs.umich.edu> <21490@paperboy.OSF.ORG> <21491@paperboy.OSF.ORG> Distribution: all Organization: CSD., University of Erlangen, Germany Lines: 18 dbrooks@osf.osf.org (David Brooks) writes: >entropy@gnu.ai.mit.edu (entropy) writes: >/* Now, if you have the scancode right justified in int scode... */ > shifts = Getshift(); /* i.e. kbshift(-1); You don't have to call kbshift; the keyboard status is returned in one of the evnt_multi return parameters. Use this value instead of the kbshift value to be sure to get a consistent view of the things going on at the keyboard and in the AES keyboard buffer. ---------------------------------------------------------------------- Claus Brod, Am Felsenkeller 2, Things. Take. Time. D-8772 Marktheidenfeld, West Germany (Piet Hein) csbrod@medusa.informatik.uni-erlangen.de Claus Brod@wue.maus.de ----------------------------------------------------------------------