Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!samsung!think.com!paperboy!penge!dbrooks From: dbrooks@penge.osf.org (David Brooks) Newsgroups: comp.sys.atari.st Subject: TOS quirk with ALT key Message-ID: <17625@paperboy.OSF.ORG> Date: 2 Jan 91 04:34:14 GMT Sender: news@OSF.ORG Reply-To: dbrooks@osf.org (David Brooks) Organization: Open Software Foundation Lines: 18 I was trying to do something with 8-bit keyboard input, and use the ALT key to signal "hi-bit on" I'm reading with Bconin. The general idea was to see if the translated character is zero; if so, and kbshift indicates ALT, I would re-translate the scancode using the standard keyboard mapping tables and plug in the top bit. Mostly, this works fine. But the keys in the top row, between "1" and "=", get 0x76 arbitrarily added to their scancodes before being returned to me. Of course, once I knew this I could compensate for it. But does anyone know the rationale for dickering with something as basic as the scancode? It's the 11/86 ROM, if it matters. -- David Brooks dbrooks@osf.org Systems Engineering, OSF uunet!osf.org!dbrooks In Memoriam: Chris Naughton, aged 16, killed by a drunk driver Dec 22, 1990