home *** CD-ROM | disk | FTP | other *** search
- id m0udy9C-0007uNa; Wed, 10 Jul 96 06:13 MDT
- Sender: owner-executor
- Received: from ardi.com by ftp.ardi.com
- (Smail3.1.29.1 #3) id m0udy8f-0007uQn; Wed, 10 Jul 96 06:13 MDT
- Path: sloth.swcp.com!tesuque.cs.sandia.gov!ferrari.mst6.lanl.gov!newshost.lanl.gov!ncar!elroy.jpl.nasa.gov!usc!howland.reston.ans.net!ixnews1.ix.netcom.com!ix.netcom.com!ix.netcom.com!news
- From: David Ellsworth <davidell@ix.netcom.com>
- Newsgroups: comp.emulators.mac.executor
- Subject: E/DOS handling of extended keys
- Date: Wed, 10 Jul 1996 06:48:25 GMT
- Organization: Netcom
- Lines: 33
- Message-ID: <4rvjvi$cec@dfw-ixnews9.ix.netcom.com>
- NNTP-Posting-Host: pas-ca23-32.ix.netcom.com
- X-NETCOM-Date: Wed Jul 10 1:52:34 AM CDT 1996
- To: executor@ardi.com
- X-MailNews-Gateway: From newsgroup comp.emulators.mac.executor
- Sender: owner-executor@ardi.com
- Precedence: bulk
-
- There is one bug that has always existed in E/DOS that has
- consistently annoyed me (a registered Executor user). (Well, actually
- there is another one -- if E/DOS is started in 50 row text mode, when
- it exits, you are left in 50 row mode, but the font is 8x16. But you
- already know that :).)
-
- The Macintosh has two ways of dealing with the keyboard:
-
- 1) When a non-modifier key is pressed, released, or repeated, it
- generates an event, passing the keycode to the event handler.
- 2) It maintains a array containing an element for each key on the
- keyboard. This array includes modifiers (Shift, Ctrl, etc.). For each
- element, a nonzero value signals that the corresponding key is being
- held down.
-
- On the PC, extended key scancodes are prefixed by 0xE0. For example,
- the scancode for Left Alt is 0x38, while the scancode for Right Alt is
- 0xE0 0x38. In (1), E/DOS handles this fine. But in (2), it ignores
- occurences of 0xE0. If Left Ctrl is pressed and held, then Right Ctrl
- is pressed and released, E/DOS will forget that Left Ctrl is being
- held down. Even worse, Left and Right Alt are both translated to
- Command; there is no way to make the emulated Mac think you are
- holding down Option. This is significant in at least one program: Spin
- Doctor.
-
- To the people at ARDI: please consider fixing this in a future version
- of E/DOS. And thank you for an outstanding product!
-
- ---
- David Ellsworth
- davidells@aol.com
- davidell@ix.netcom.com
-
-
-