keyboard_needs_poll(3alleg4)
π keyboard_needs_poll β NAME π
okay so bestie, welcome to keyboard_needs_poll β¨ this is a lil function from the Allegro game programming library, and it's here to tell you if the keyboard needs polling. that's it. that's the whole job. she's small but she's important π
πΈ SYNOPSIS πΈ
#include <allegro.h>
int keyboard_needs_poll();
like. she takes no arguments. zero. nada. she just exists and returns a number and honestly? respect π
β¨ DESCRIPTION β¨
so here's the tea π β keyboard_needs_poll returns TRUE if the current keyboard driver is operating in polling mode.
that's it!! that's the whole vibe check. if your keyboard driver is in polling mode, she says TRUE. if it's not... she doesn't. main character energy fr fr π«
ngl this one's a tiny little info-getter, no side effects, no drama. just vibes and a boolean π¦
π SEE ALSO π
poll_keyboard(3alleg4)β the actual polling bestie πinstall_keyboard(3alleg4)β sets the whole keyboard situation up πkey(3alleg4)β reading keys and stuff β¨
Allegro manual, version 4.4.3 π«Ά that's the source + version + date energy, mwah, go forth and poll responsibly π ππ
π¦ where this page comes from
- debian bookworm: allegro4-doc 2:4.4.3.1-3 Β· Allegro-gift-ware
- debian trixie: allegro4-doc 2:4.4.3.1-5 Β· Allegro-gift-ware
- ubuntu jammy: allegro4-doc 2:4.4.3.1-2 Β· Allegro-gift-ware
- ubuntu noble: allegro4-doc 2:4.4.3.1-4.1build3 Β· Allegro-gift-ware
- ubuntu questing: allegro4-doc 2:4.4.3.1-6
- ubuntu resolute: allegro4-doc 2:4.4.3.1-7 Β· Allegro-gift-ware
- ubuntu stonking: allegro4-doc 2:4.4.3.1-9 Β· Allegro-gift-ware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms