[comp.os.msdos.programmer] Changing Keyboard Repeat Rate

kam@iti.org (Keith A. McNabb) (05/02/91)

Does anyone know if there is a way to alter the keyboard repeat rate
of an IBM-compatible from Microsoft C (or an assembly language call)
and restore it prior to program exit?  I've looked over the DOS
interrupts and can't seem to find anything applicable.

I'm referring to the rate at which DOS processes fresh key inputs 
when a keyboard key is continuously depressed.  There are utilities
(e.g., Norton) outside of a program that can change the parameter, but
I'd like to do it within a program.

Please email rather than post, if possible.  This is probably too
simple or arcane to be of general interest.

Keith
kam@iti.org