.\" Generated by the Allegro makedoc utility .TH adime_scancode_to_short_name 3 "version 2.2.1" "Adime" "Adime API Reference" .SH NAME adime_scancode_to_short_name .SH SYNOPSIS .B #include .sp .B char *adime_scancode_to_short_name(int scancode, char *buf) .SH DESCRIPTION Converts a keyboard scancode to a string. The string is exactly the text after `KEY_\' in the macro name for the key (so the function returns "DELETE" if you feed it with KEY_DELETE). Returns the buffer, or NULL if the scancode didn\'t match any known key. .SH SEE ALSO .BR adime_scancode_to_pretty_name (3), .BR adime_short_name_to_scancode (3)