DOKK / manpages / debian 12 / allegro5-doc / al_keycode_to_name.3alleg5.en
al_keycode_to_name(3alleg5) al_keycode_to_name(3alleg5)

al_keycode_to_name - Allegro 5 API

#include <allegro5/allegro.h>
const char *al_keycode_to_name(int keycode)
    

Converts the given keycode to a description of the key.

Allegro reference manual