ModKeys Ext

External modules for 4D.
User avatar
Info-Mac
Administrator
Posts:13716
Joined:December 21st, 1988, 11:00 am
ModKeys Ext

Post by Info-Mac » May 4th, 1993, 9:00 am

Download: http://archive.info-mac.org/dev/db/a4d/ ... ys-ext.hqx

To: [email protected]
X-VMS-To: IN%"[email protected]"

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.
Post Reply