mouse_get — Get value of a mouse output
int32 mouse_get(uint8 ident);
Get the current value of the mouse output specified by ident.
The mouse_get() returns the value set by mouse_set() and/or mouse_passthru() . |
Returns an int32 value that represents the current status of the mouse output specified by ident.
#include <mouse.gph> main { mouse_passthru(); if(mouse_get(MBUTTON_2)) { set_val(BUTTON_7, 100.0); } }