MacTrove  — Classic Macintosh Archive
 
 Home Software Hardware Docs Magazines Forums Search
Search:   Software, forums, magazines & more

Modifier Keys Ext

File modifier-keys-ext.hqx
Size 2.0 KB
Category Development
↓ Download modifier-keys-ext.hqx

Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute corrections, and join the community chat.

About

To: hagood@scri1.scri.fsu.edu CC: Subj: ModKeys Ext Date: Wed, 31 Jul 91 13:09 GMT +1200 From: Allan Udy Subject: ModKeys Ext To: hagood@scri1.scri.fsu.edu X-VMS-To: IN%"hagood@scri1.scri.fsu.edu" Modkeys(Var1) Var1 is of type Integer. This external returns in Var1 the state of the 4 keyboard modifier keys when the external was called. Be sure to initialize Var1 BEFORE using it in the external call! 256 - Command key down 512 - Shift key down 1024 - Caps lock key down 2048 - Option key down (multiple keys will return additive results, eg. cmd+shift=256+512=768.) To use, place in the During portion of the layout proc & call when you want to check the modifier keys.

MacTrove — Classic Macintosh Archive — Full site | Software | Search
Classic version — compatible with older browsers.