Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!ucsd!ucbvax!GRIN1.BITNET!THROOP From: THROOP@GRIN1.BITNET ("Throop,Henry B") Newsgroups: comp.sys.apple2 Subject: Re: One finger cotrol sequences Message-ID: <9012201552.AA00588@apple.com> Date: 20 Dec 90 15:51:10 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 29 [Dave Whitney about reading control key on gs] For the record, the keyboard register is at $C025 on the gs. It is not available on pre-gs //s. Bit Meaning 7 Open-Apple pressed 6 Option pressed 5 Modifier key latch updated 4 Numeric keypad key pressed 3 Key held down 2 Caps lock down 1 Control pressed 0 Shift pressed This register is updated whenever the status of a key has changed; it is not held until read and reset, for example. Note that the Open-Apple and Option keys can also be detected by reading bit 7 of $C061 and $C062 on pre-gs machines; they correspond to the button inputs from the joystick. Henry (A few people asked me about my Mandelbrot program I mentioned earlier. I'll post it on c.s.a2 when I get back home and can post, in a couple of days.) @sig.