Osfastarrows; Keyboard - Texas Instruments TI-89 Developer's Manual

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

Advertisement

Appendix B: Global Variables — Keyboard

OSFastArrows

Declaration:
BYTE OSFastArrows
Category(ies):

Keyboard

Description:
Normally set to 0.
Once a key value is pushed onto the key queue, the same key value is not
pushed again until the key is released, unless that key is one of the
following: any of the arrow keys, the contrast keys, delete, or backspace.
These keys are allowed to "auto-repeat". If one of these keys is pressed
and held, after an initial delay the same key value will be pushed again. If
the keypress continues to be active, the key value will continue to be
pushed at a rate set by a delay which is slightly shorter than the initial
delay. If a key is pushed as a result of auto-repeat, the value
KB_AUTOREPEAT is OR'd with the key value prior to pushing the key
value onto the key queue.
If OSFastArrows is zero, ngetchx will clear the KB_AUTOREPEAT bit
from the key value.
If OSFastArrows is set to 2, the in-between-key delay is ignored for arrow
keys, allowing them to be pushed as fast as the keyboard can be scanned.
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:
Ngetchx, OSInitBetweenKeyDelay, OSInitKeyInitDelay
Example:
TRY
SaveFastArrows = OSFastArrows;
OSFastArrows = 0;
.
.
/* do some stuff */
.
ONERR
OSFastArrows = SaveFastArrows;
TI-89 / TI-92 Plus Developer Guide
Not for Distribution
1243
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