VgaGames4

VgaGames4 - network man-pages

[.. upper level ..]

# vg4->nw->mouse_newpressed()

Return pressed mouse-buttons of a client which have not yet been queried.

SYNTAX
VG_BOOL vg4->nw->mouse_newpressed(int clnr, VG_BOOL *left, VG_BOOL *middle, VG_BOOL *right)
FUNCTION PARAMETERS

clnr | Client-number
left | For returning whether left button is new pressed, (may be NULL)
middle | For returning whether middle button is new pressed, (may be NULL)
right | For returning whether right button is new pressed, (may be NULL)

RETURN VALUE
Returns whether one or more buttons are new pressed: - VG_TRUE: Yes - VG_FALSE: No
DESCRIPTION
Return pressed mouse-buttons of a client which have not yet been queried. This function behaves as vg4->input->mouse_newpressed() and shall be used for network-games.
SEE ALSO
vg4->nw->mouse_pressed() vg4->input->mouse_newpressed()