Texas Instruments TI89 Developer Guide - Page 690
OSInitKeyInitDelay, OSFastArrows, applications. Be sure to restore the original delay values.
![]() |
UPC - 033317198566
View all Texas Instruments TI89 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 690 highlights
648 Appendix A: System Routines - Keyboard 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 ); TI-89 / TI-92 Plus Developer Guide Not for Distribution Beta Version January 26, 2001
![](/manual_guide/products/texas-instruments-ti89-developer-guide-95b636f/690.png)