set_keyboard_rate(3)
β¨ set_keyboard_rate(3) β¨
okay so bestie, welcome to the Allegro manual π this one's a tiny little function from the Allegro game programming library and it's literally the girl who controls how fast your keyboard goes brrr when you hold a key down π
πΈ NAME πΈ
set_keyboard_rate</ppurple> β sets the keyboard repeat rate. Allegro game programming library. π
π¦ SYNOPSIS π¦
#include <allegro.h>
void set_keyboard_rate(int delay, int repeat);
π DESCRIPTION π
okay so here's the tea β β set_keyboard_rate sets the keyboard repeat rate, no cap. πΉβ¨
the times are given in milliseconds bestie, keep that in mind, it's giving very precise π
and the wild part: passing zero times will disable the key repeat entirely π so if you pass zeros, no repeat, nothing, the key just sits there. iconic but also be careful fr fr π
π«Ά SEE ALSO π«Ά
go read those too bestie, they're all part of the same lil keyboard friend group π
and that's the whole page!! π this was Allegro, version 4.4.3, and the page itself is set_keyboard_rate(3) β mwah, periodt π
β¨
π¦ where this page comes from
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms