al_key_down - Man Page

Allegro 5 API

Synopsis

#include <allegro5/allegro.h>

bool al_key_down(const ALLEGRO_KEYBOARD_STATE *state, int keycode)

Description

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

See Also

ALLEGRO_KEYBOARD_STATE(3)

Referenced By

al_get_keyboard_state(3), ALLEGRO_KEYBOARD_STATE(3).

Allegro reference manual