Returns the current state of a valuator.
FORTRAN (libfgl.a)
Int32 getvaluator(Device device)
INTEGER*4 FUNCTION GETVAL(device) INTEGER*4 device
The getvaluator subroutine returns the current value (an integer) of the valuator specified in the device parameter.
Note: This subroutine cannot be used to add to a display list.
device | Identifier of the valuator (such as MOUSEX or BPADX) to be read. |
The value stored at the device named by the device parameter.
The example C language program select1.c uses the getvaluator subroutine to obtain the mouse coordinates whenever the left mouse button is pressed.
This subroutine is part of GL in the AIXwindows Environment/6000 Version 1, Release 2 with AIXwindows/3D Feature.
Reading a list of valuators with the getdev subroutine.
Assigning initial, minimum, and maximum values to a valuator with the setvaluator subroutine.
AIX Graphics Library Overview, Controlling Queues and Devices, Using the Keyboard, and Querying the System.