Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!hplabs!well!svc From: svc@well.UUCP (Leonard Rosenthol) Newsgroups: comp.sys.mac.programmer Subject: Re: Option Key and the Keyboard Driver, Red Ryder Summary: No keyDowns for deadKeys Message-ID: <14842@well.UUCP> Date: 6 Dec 89 17:22:49 GMT References: <1578@intercon.com> <36863@apple.Apple.COM> Reply-To: svc@well.UUCP (Leonard Rosenthol) Organization: Whole Earth 'Lectronic Link, Sausalito, CA Lines: 25 In article <36863@apple.Apple.COM> kazim@Apple.COM (Alex Kazim) writes: >In article ml10+@andrew.cmu.edu (Michael A. Libes) writes: >> >>[possible solution using event message] > >Uh, this is fine for a keydown event, but what about dead keys. I had >thought, and this is off the top of my head, that option-e will not >generate a keyDown event. If this is the case, then you won't be able >to trap out the dead keys opt-e, opt-`, etc. Of course, I could be >wrong... > Nope, you are right on this one Alex! Dead keys will NOT generate keydowns ans so this won't help in this situation... The only way to support use of the optionKey as the controlKey (or any other type of modifier for that matter (meta-Key??) is to patch _KeyTrans! (You also have to do some other stuff behind the system's back since it is possible for you to get a keyDown event which was generated while your patch was switched out during a MINOR context switch...(Don't y ou just love MF ;-) -- +--------------------------------------------------+ Leonard Rosenthol | GEnie : MACgician Lazerware, inc. | MacNet: MACgician UUCP: svc@well.UUCP | ALink : D0025