Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 UW 5/3/83; site uw-beaver Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!houxm!houxz!vax135!cornell!uw-beaver!info-mac From: info-mac@uw-beaver (info-mac) Newsgroups: fa.info-mac Subject: Modifier keys Message-ID: <1532@uw-beaver> Date: Tue, 21-Aug-84 20:54:17 EDT Article-I.D.: uw-beaver>.1532 Posted: Tue Aug 21 20:54:17 1984 Date-Received: Thu, 23-Aug-84 00:13:03 EDT Sender: daemon@uw-beave Organization: U of Washington Computer Science Lines: 17 From: Eric RoskosThe keys you mention are called "Modifier Keys." Their status is returned in the "modifiers" field of the EventRecord, which has bits assigned to each modifier key as follows: 11 - option key 10 - caps lock key 9 - shift key 8 - command key 7 - mouse button where the bits are numbered in <15:0> order. However, the modifier keys don't generate an event when depressed on their own; they are just returned as part of the event record for another event. See "The Event Manager: A Programmer's Guide" (/EMGR/EVENTS.3 in the 6/20/83 edition) for a full description.