vg4->input->mouse_pressed()
Return pressed mouse-buttons.
SYNTAX
FUNCTION PARAMETERS
left | For returning whether left button is pressed, (may be NULL) |
middle | For returning whether middle button is pressed, (may be NULL) |
right | For returning whether right button is pressed, (may be NULL) |
RETURN VALUE
Returns whether one or more buttons are pressed:
- VG_TRUE: Yes
- VG_FALSE: No
DESCRIPTION
Return pressed mouse-buttons.
If mouse-grabbing is activated, the mouse must be catched in the window.
To catch the mouse into the window or release it from the window,
if mouse-grabbing is activated, use: [CTRL]+[Backspace]
SEE ALSO