Changing Keyboard Repeat Rate

Keith A. McNabb kam at
Thu May 2 23:06:42 AEST 1991

Does anyone know how 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 recognizes new 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.


More information about the Comp.lang.c mailing list