![]() |
![]()
| ![]() |
![]()
NAMEscancode_to_name - Converts a scancode to a key name. Allegro game programming library. SYNOPSIS#include <allegro.h> const char *scancode_to_name(int scancode); DESCRIPTIONThis function returns a string pointer containing the name of they key with the given scancode. This is useful if you e.g. let the user choose a key for some action, and want to display something more meaningful than just the scancode. Example:
SEE ALSOscancode_to_ascii(3), exkeys(3)
|