VgaGames4

VgaGames4 - canvas man-pages

[.. upper level ..]

# vg4->canvas->uniqkey_get()

Get key-code of a unique-key-pressing.

SYNTAX
int vg4->canvas->uniqkey_get(struct VG_Canvas *cvas, const char *iname)
FUNCTION PARAMETERS

cvas | Canvas
iname | Name of unique-key-pressing

RETURN VALUE
Returns key-code (VG_INPUT_NOKEY or one of VG_INPUT_KBDCODES/VG_INPUT_GCBUTTONS/VG_INPUT_GCAXES)
DESCRIPTION
Get key-code of a unique-key-pressing. See section CV-UNIQKEY in vg4->canvas->load().
SEE ALSO
vg4->canvas->uniqkey_set()