Osmodkeystatus - Texas Instruments TI-89 Developer's Manual

Graphing calculator
Hide thumbs Also See for TI-89:
Table of Contents

Advertisement

1244

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.
All versions of the TI-89 / TI-92 Plus.
Availability:
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
}
TI-89 / TI-92 Plus Developer Guide
Appendix B: Global Variables — Keyboard
Not for Distribution
Beta Version January 26, 2001

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ti-92 plusTi-92 plus

Table of Contents