VgaGames 3 - Event man-pages

[.. upper level ..]

VG3_key_num2name()

Returns the name of a keyboard-key.
SYNTAX
const char * VG3_key_num2name(struct vg3_window *wstruct, int kbidx)

FUNCTION PARAMETERS
wstruct Window-struct
kbidx Key: one of the values of VGAG3_KEYS

RETURN VALUE
Returns constant string: the name of the key or empty string if invalid key

DESCRIPTION
Return the name of the keyboard-key as a constant string, e.g. "A" for VGAG3_KEY_A or "Spacebar" for VGAG3_KEY_SPACE

SEE ALSO
VG3_key_name2num() VG3_gamecontroller_num2name() VG3_gamecontroller_name2num()