adime_scancode_to_short_name - Man Page

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)

Referenced By

adime_scancode_to_pretty_name(3), adime_short_name_to_scancode(3).

version 2.2.1 Adime API Reference