VgaGames 3 - Network man-pages

[.. upper level ..]

VG3_nw_addmouse()

[added in version 1.4]

Activate sending mouse-data via network.
SYNTAX
void VG3_nw_addmouse(struct vg3_nwclient *nwclnt)

FUNCTION PARAMETERS
nwclnt Network-struct

DESCRIPTION
Activate sending mouse-data via network. This function has to be called before calling VG3_nw_connect(). On default, no mouse-data is sent via network, because it requires 3 additional bytes for each client. So this should only be activated where required. The mouse-data has to be checked - with VG3_nw_mouse_ispressed() instead of VG3_mouse_ispressed() - with VG3_nw_mouse_position() instead of VG3_mouse_position()

SEE ALSO
VG3_nw_mouse_ispressed() VG3_nw_mouse_position()