Install a keyboard driver.
bool al_install_keyboard( void )
Uninstalls the active keyboard driver, if any.
void al_uninstall_keyboard( void )
Return a pointer to an object representing the keyboard, that can be used as an event source.
ALLEGRO_KEYBOARD *al_get_keyboard( void )
Overrides the state of the keyboard LED indicators.
bool al_set_keyboard_leds( int leds )
Converts the given keycode to a description of the key.
const char *al_keycode_to_name( int keycode )
Save the state of the keyboard specified at the time the function is called into the structure pointed to by RET_STATE.
void al_get_keyboard_state( ALLEGRO_KBDSTATE * ret_state )
Return true if the key specified was held down in the state specified.
bool al_key_down( const ALLEGRO_KBDSTATE * state, int keycode )