getvaluator(3) — Silicon Graphics R1c
NAME
getvaluator - return the current value of a valuator
SYNOPSIS
C
short getvaluator(v)
Device v;
FORTRAN
integer*2 function getval(v)
integer*2 v
Pascal
function getvaluator(v: Device): Short;
DESCRIPTION
A valuator is a single-valued input device. Examples are the horizontal and vertical motions of a mouse and dials on a control panel. Getvaluator returns the current value of the specified device. Its argument is the valuator device number. Bounds on the returned value can be set with setvaluator.
SEE ALSO
button, keyboard, noise, qvaluator, setvaluator, unqvaluator
NOTE
This command can only be used in immediate mode.
Version 2.3 — July 04, 1985