EasyManuals Logo

Texas Instruments TI-89 Developer's Guide

Texas Instruments TI-89
1398 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #690 background imageLoading...
Page #690 background image
648
Appendix A: System Routines — Keyboard
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
OSInitBetweenKeyDelay
Declaration:
WORD
OSInitBetweenKeyDelay
(WORD
val
)
Category(ies):
Keyboard
Description:
For keys that auto-repeat, set the delay between pushing the first and
second key. Use of this routine may destabilize key scans for other
applications. Be sure to restore the original delay values.
Inputs:
val
Number of system ticks to delay after pushing the first key, before
pushing the next key value.
Outputs:
Value that the key initial delay was previously set to.
Assumptions:
None
Side Effects:
None
Availability:
All versions of the TI-89 / TI-92 Plus.
TI-89 / TI-92 Plus
Differences:
The system tick is based on the system clock, which may vary across
platforms. If you must change these values, it is recommended that you
first query the system to see what the delay is set at, then set the delay to
some fraction or multiple of the system default value.
See Also: OSInitKeyInitDelay, OSFastArrows
Example:
WORD sysDelay;
/* Dummy call to get the system default value */
sysDelay = OSInitBetweenKeyDelay( 0 );
/* Set the delay to 4/3 the system’s value */
OSInitBetweenKeyDelay ( sysDelay * 4 / 3 ) ;
// Your code goes here
/* Set the delay back to system default before swapping out or quitting the app */
OSInitBetweenKeyDelay( sysDelay );

Table of Contents

Other manuals for Texas Instruments TI-89

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TI-89 and is the answer not in the manual?

Texas Instruments TI-89 Specifications

General IconGeneral
Display size (HxV)100 x 160 mm
Memory type639K FLASH ROM, 188K bytes RAM
Compatible operating systemsOperating System 2.09
Battery typeAAA

Related product manuals