[fa.info-mac] Modifier keys

info-mac@uw-beaver (info-mac) (08/22/84)

From: Eric Roskos <jer%vanderbilt.csnet@csnet-relay.arpa>
The 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.