set_keyboard_rate(3) Sets the keyboard repeat rate. Allegro game programming library.

SYNOPSIS

#include <allegro.h>

void set_keyboard_rate(int delay, int repeat);

DESCRIPTION

Sets the keyboard repeat rate. Times are given in milliseconds. Passing zero times will disable the key repeat.