VgaGames 3 - Event man-pages

[.. upper level ..]

VG3_key_getpressed()

Returns which key of the keyboard is exclusively pressed.
SYNTAX
int VG3_key_getpressed(struct vg3_window *wstruct)

FUNCTION PARAMETERS
wstruct Window-struct

RETURN VALUE
Returns one of the values of VGAG3_KEYS or VGAG3_KEY_NOKEY if no key or more than one key is pressed.

DESCRIPTION
Return key which is exclusively pressed, if any. Useful for redefining keys in the system-menu.

SEE ALSO
VG3_key_ispressed()