Sets typematic delay.
#include <sys/inputdd.h>
int ioctl (FileDescriptor, KSTDELAY, Arg)
int FileDescriptor;
uint * Arg;
The KSTDELAY ioctl subroutine call sets the time, specified in milliseconds, that a key must be held down before it repeats.
When keyboard diagnostics are enabled, the KSTDELAY ioctl subroutine call fails and sets the errno global variable to a value of EBUSY.
Item | Description |
---|---|
FileDescriptor | Specifies the open file descriptor for the keyboard. |
Arg | Specifies the address of a value representing the typematic
delay. The Arg parameter can be one of the following delay
values:
Note: For the
106-keyboard, the delays are 300, 400®,
500, and 600 milliseconds. All delays are +/- 20%.
|