VgaGames4 - canvas man-pages

[.. upper level ..]

vg4->canvas->uniqkey_set()

Set key-code of a unique-key-pressing for keyboard or a gamecontroller.

SYNTAX
void vg4->canvas->uniqkey_set(struct VG_Canvas *cvas, const char *iname, int gcid, int keycode)

FUNCTION PARAMETERS
cvas Canvas
iname Name of unique-key-pressing
gcid 0 = keyboard or >0 = gamecontroller-ID
keycode Key-code (VG_INPUT_NOKEY or one of VG_INPUT_KBDCODES/VG_INPUT_GCBUTTONS/VG_INPUT_GCAXES)

DESCRIPTION
Set key-code of a unique-key-pressing for keyboard or a gamecontroller. See section CV-UNIQKEY in vg4->canvas->load().

SEE ALSO
vg4->canvas->uniqkey_get()