al_is_keyboard_haptic(3alleg5)

πŸ“¦
version 5.2.11.3 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ al_is_keyboard_haptic ✨

okay bestie, so this one lives in the Allegro 5 API manual, section 3alleg5, and it's genuinely one of the shortest lil baddies in the whole reference. lowkey iconic for that alone. πŸ’…


🌸 SYNOPSIS 🌸

#include <allegro5/allegro.h>

bool al_is_keyboard_haptic(ALLEGRO_KEYBOARD *dev)

πŸ¦‹ DESCRIPTION πŸ¦‹

so basically you hand it a keyboard β€” like, an ALLEGRO_KEYBOARD * β€” and it tells you the vibe check result:

  • returns true if that keyboard has haptic capabilities πŸ’–
  • returns false if it does not πŸ™ˆ

that's it. that's the whole function. short king behavior, no cap. πŸ‘‘


⭐ SINCE ⭐

5.1.8 β€” a classic, honestly, she's been around. πŸŽ€

[Unstable API] πŸ’€ Perhaps could be simplified due to limited support for all the exposed features across all of the platforms. Awaiting feedback from users.
translation for the girlies: this one is unstable, so don't get too attached to the shape of it. the note literally says it perhaps could be simplified because support for all the exposed features is limited across all the platforms, and they're awaiting feedback from users. so like… if you have opinions, speak up fr fr. 🫢

🌈 SEE ALSO 🌈

not a single cross-reference in sight, bestie. she stands alone. main character energy, periodt. ✨


mwah πŸ’‹ that's the whole page β€” brought to you by the Allegro reference manual, al_is_keyboard_haptic(3alleg5), section 3alleg5. go check if your keyboard is haptic and report back, i'm obsessed. πŸ¦‹πŸ’–πŸŽ€

πŸ“¦ where this page comes from