setvaluator - assigns an initial value and a range to a valuator
void setvaluator(v, init, vmin, vmax)
short init, vmin, vmax;
v expects the device number for the valuator being set.
init expects the initial value to be assigned to the valuator.
vmin expects the minimum value that the device can assume.
vmax expects the maximum value that the device can assume.
setvaluator sets the initial value and the minimum and maximum values the
specified device can assume.
Some devices, such as tablets, report values fixed to a grid. In this
case, the device defines an initial position and init is ignored.
This routine is available only in immediate mode.
PPPPaaaaggggeeee 1111 [ Back ]