1set_keyboard_rate(3) Allegro manual set_keyboard_rate(3)
23
4
NAME
6set_keyboard_rate - Sets the keyboard repeat rate. Allegro game pro‐
7gramming library.
8
SYNOPSIS
10#include <allegro.h>
1112
13
void set_keyboard_rate(int delay, int repeat);
14
DESCRIPTION
16Sets the keyboard repeat rate. Times are given in milliseconds. Passing
17zero times will disable the key repeat.
1819
SEE ALSO
21install_keyboard(3), readkey(3), ureadkey(3)
2223
24
25
Allegro version 4.2.3 set_keyboard_rate(3)