logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

al_is_haptic_capable - Allegro 5 API

Description

       Returns  true  if  the  haptic device supports the feature indicated by the query parameter, false if the
       feature   is   not   supported.    The   query   parameter   must   be   one    of    the    values    of
       ALLEGRO_HAPTIC_CONSTANTS(3alleg5).

Name

       al_is_haptic_capable - Allegro 5 API

See Also

al_get_haptic_capabilities(3alleg5)

Allegro reference manual                                                           al_is_haptic_capable(3alleg5)

Since

       5.1.9

              [UnstableAPI]:  Perhaps  could be simplified due to limited support for all the exposed features
              across all of the platforms.  Awaiting feedback from users.

Synopsis

              #include <allegro5/allegro.h>

              bool al_is_haptic_capable(ALLEGRO_HAPTIC * hap, int query) {

See Also