1244
Appendix B: Global Variables — Keyboard
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
OSModKeyStatus
Declaration:
WORD
OSModKeyStatus
Category(ies):
Keyboard
Description:
Reflects the status of the modifier keys. Set equal to the modifier key
indicator in status line.
Inputs:
Not applicable.
Outputs:
Not applicable.
Assumptions:
Not applicable.
Side Effects:
Not applicable.
Availability:
All versions of the TI-89 / TI-92 Plus.
TI-89 / TI-92 Plus
Differences:
None
See Also:
None
Example:
switch (OSModKeyStatus) {
case SC_SECOND:
// second key modifier is active
break;
case SC_OPTION:
// diamond key modifier is active
break;
case SC_SHIFT:
// shift key modifier is active
break;
case SC_DRAG:
// grab key modifier is active
break;
case SC_CAPSLOCK:
// shift lock modifier is active
break;
case SC_DRAGLOCK:
// drag lock modifier is active
break;
default:
// no key modifier is active
}