REMOVE_KEYBOARD(3ALLEG4) - Linux man page online | Library functions
Removes the Allegro keyboard handler.
Chapter
version 4.4.2
remove_keyboard(3alleg4) Allegro manual remove_keyboard(3alleg4)
Allegro version 4.4.2 remove_keyboard(3alleg4)
NAME
remove_keyboard - Removes the Allegro keyboard handler.SYNOPSIS
#include <allegro.h> void remove_keyboard();DESCRIPTION
Removes the keyboard handler, returning control to the operating system. You don't nor‐ mally need to bother calling this, because allegro_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 ALSO
install_keyboard(3alleg4), allegro_exit(3alleg4), set_config_string(3alleg4)This manual | Reference | Other manuals |
---|---|---|
remove_keyboard(3alleg4) | referred by | install_keyboard(3alleg4) |
refer to | allegro_exit(3alleg4) | install_keyboard(3alleg4) | set_config_string(3alleg4) |