Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!ico!auto-trol!robwah From: robwah@auto-trol.UUCP (Robert Wahl) Newsgroups: comp.sys.ibm.pc Subject: Re: key interception and translation Keywords: keyboard translation Message-ID: <182@auto-trol.UUCP> Date: 9 Jun 89 20:47:00 GMT References: <3127@ogccse.ogc.edu> Reply-To: robwah@auto-trol.UUCP (Robert Wahl) Distribution: usa Organization: Auto-trol Technology, Denver Lines: 13 I'm afraid you may be out of luck. Shift/control interpretation takes place in the lowest level interrupts. In order to do the job properly, you would have to replace INT 9, and this requires knowledge of your system's implementation of tables, etc. In particular, the shift and control keys have implications for other keyboard functions besides returning shifted or control characters. For example, the shift key toggles the operational mode for the keypad. Also, not all shifted keycodes have control counterparts, so you can't just swap the keycodes that you get (pressing keys with shift/ alt/control states won't always give you a keycode, and even when it does, you aren't guaranteed the keycode will reflect the shift state). Insert IBM flame here. =:-> -- Rob Wahl =:-> {...!ncar!ico!auto-trol!robwah}