FORTRAN (libfgl.a)
void noise(Device valuator, Int16 delta)
SUBROUTINE NOISE(valuator, delta) INTEGER*4 valuator, delta
Note: For FORTRAN users, this subroutine accepts long integer parameters (INTEGER*4) when invoked from a FORTRAN program, although it accepts short integers when invoked from a C program. The C and FORTRAN syntax shown here reflect this difference.
The noise subroutine provides squelch for noisy valuators. It prevents a valuator from reporting small fluctuations in movement that are not meaningful. For example, noise(valuator,5) means that the specified valuator must move at least 5 units before it makes a new queue entry.
A valuator must be queued before the noise subroutine is called.
The default noise value for all valuators other than the timer devices is 1. The default noise value for the timer devices (TIMERx) is 10,000.
Note: This subroutine cannot be used to add to a display list.
valuator | Specifies a single-value input device. |
delta | Specifies the number of units of change required before the valuator can make a new queue entry. |
This subroutine is part of GL in the AIXwindows Environment/6000 Version 1, Release 2 with AIXwindows/3D Feature.
Assigning an initial value to a valuator with the setvaluator subroutine.
AIX Graphics Library Overview, Controlling Queues and Devices and Using the Keyboard.