getvaluator(3G)

getvaluator - returns the current state of a valuator

As shipped in IRIX 6.5. First release of IRIX 6.5.

NAME
     getvaluator - returns the current state of a valuator

C SPECIFICATION
     long  getvaluator(dev)
     Device dev;

PARAMETERS
     dev   expects the identifier of the device (e.g., MOUSEX, BPADX, etc.)
           from which you want to read.

FUNCTION RETURN VALUE
     The returned value of this function is the value stored at the device
     named by the dev parameter.

DESCRIPTION
     getvaluator returns the current value (an integer) of the valuator dev.

SEE ALSO
     getbutton, getdev, qdevice, tie

NOTE
     This routine is available only in immediate mode.