VgaGames 3 - Network man-pages

[.. upper level ..]

VG3_nw_haskey()

Return if a key is a network-key.
SYNTAX
int VG3_nw_haskey(struct vg3_nwclient *nwclnt, int jid, int keyidx)

FUNCTION PARAMETERS
nwclnt Network-struct
jid Joystick-ID or 0 = keyboard
keyidx Key, button or axis:
- for keyboard: one of the values of VGAG3_KEYS
- for gamecontroller: one of the values of VGAG3_GCS
- for joystick: joystick-input-keynumber (starting from 1)

RETURN VALUE
Returns 1 if it is a network-key, else returns 0.

DESCRIPTION
Return if a key is a network-key, that is whether it has been added to the network structure.

SEE ALSO
VG3_nw_addkey() VG3_nw_changekey()