al_get_keyboard_state - Man Page

Allegro 5 API

Synopsis

#include <allegro5/allegro.h>

void al_get_keyboard_state(ALLEGRO_KEYBOARD_STATE *ret_state)

Description

Save the state of the keyboard specified at the time the function is called into the structure pointed to by ret_state.

See Also

al_key_down(3), al_clear_keyboard_state(3), ALLEGRO_KEYBOARD_STATE(3)

Referenced By

al_clear_keyboard_state(3), al_emit_user_event(3).

Allegro reference manual