Converts a scancode to a key name.
This 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
char const *keyname = scancode_to_name(scancode);
allegro_message("You pressed the %s key.", keyname);
The following projects include source code containing this keyword: