DragonFly On-Line Manual Pages
adime_scancode_to_short_name(3) Adime API Reference
NAME
adime_scancode_to_short_name
SYNOPSIS
#include <adime.h>
char *adime_scancode_to_short_name(int scancode, char *buf)
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.
SEE ALSO
adime_scancode_to_pretty_name(3), adime_short_name_to_scancode(3)
Adime version 2.2.1 adime_scancode_to_short_name(3)