1adime_scancode_to_short_name(3)Adime API Referencaedime_scancode_to_short_name(3)
2
3
4
6 adime_scancode_to_short_name
7
9 #include <adime.h>
10
11
12 char *adime_scancode_to_short_name(int scancode, char *buf)
13
15 Converts a keyboard scancode to a string. The string is exactly the
16 text after `KEY_´ in the macro name for the key (so the function
17 returns "DELETE" if you feed it with KEY_DELETE). Returns the buffer,
18 or NULL if the scancode didn´t match any known key.
19
20
22 adime_scancode_to_pretty_name(3), adime_short_name_to_scancode(3)
23
24
25
26Adime version 2.2.1 adime_scancode_to_short_name(3)