1remove_keyboard(3)              Allegro manual              remove_keyboard(3)
2
3
4

NAME

6       remove_keyboard - Removes the Allegro keyboard handler.
7

SYNOPSIS

9       #include <allegro.h>
10
11
12       void remove_keyboard();
13

DESCRIPTION

15       Removes  the  keyboard handler, returning control to the operating sys‐
16       tem.  You don't normally need to bother  calling  this,  because  alle‐
17       gro_exit()  will  do  it  for you. However, you might want to call this
18       during runtime if you want to change  the  keyboard  mapping  on  those
19       platforms were keyboard mappings are needed. You would first modify the
20       configuration variable holding the keyboard mapping and then  reinstall
21       the keyboard handler.  Example:
22
23          remove_keyboard();
24          /* Switch to Spanish keyboard mapping. */
25          set_config_string("system", "keyboard", "es");
26          install_keyboard();
27
28

SEE ALSO

30       install_keyboard(3), allegro_exit(3), set_config_string(3)
31
32
33
34Allegro                          version 4.4.3              remove_keyboard(3)
Impressum