remove_keyboard(3) Allegro manual remove_keyboard(3)NAMEremove_keyboard - Removes the Allegro keyboard handler.
SYNOPSIS
#include <allegro.h>
void remove_keyboard();
DESCRIPTION
Removes the keyboard handler, returning control to the operating sys‐
tem. You don't normally need to bother calling this, because alle‐
gro_exit() will do it for you. However, you might want to call this
during runtime if you want to change the keyboard mapping on those
platforms were keyboard mappings are needed. You would first modify the
configuration variable holding the keyboard mapping and then reinstall
the keyboard handler. Example:
remove_keyboard();
/* Switch to Spanish keyboard mapping. */
set_config_string("system", "keyboard", "es");
install_keyboard();
SEE ALSOinstall_keyboard(3), allegro_exit(3), set_config_string(3)Allegro version 4.4.2 remove_keyboard(3)