table of contents
set_keyboard_rate(3alleg4) | Allegro manual | set_keyboard_rate(3alleg4) |
NAME¶
set_keyboard_rate - 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.
SEE ALSO¶
install_keyboard(3alleg4), readkey(3alleg4), ureadkey(3alleg4)
version 4.4.3 | Allegro |