getbutton(3G) getbutton(3G)
getbutton - returns the state of a button
Boolean getbutton(num)
Device num;
num is the device number of the button you want to test.
FUNCTION RETURN VALUE
There are two possible return values for this function:
FALSE indicates that button num is up.
TRUE indicates that button num is down.
The return value is undefined if there was an error, e.g. num is not a
button device.
getbutton returns the state of button num.
getdev
This routine is available only in immediate mode.
PPPPaaaaggggeeee 1111 [ Back ]
|