al_key_down(3)

al_key_down3

Allegro 5 api

Usage

#include <allegro5/allegro.h>
bool al_key_down(const ALLEGRO_KEYBOARD_STATE *state, int keycode)

Overview

Return true if the key specified was held down in the state specified.

From allegro 5.2.11.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.