adime_scancode_to_short_name

Langue: en

Autres versions - même langue

Version: version 2.2.1 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

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)