[ Previous | Next | Contents | Glossary | Home | Search ]
GL3.2 for AIX: Graphics Library (GL) Technical Reference

noise Subroutine

Purpose

Filters valuator motion.

Libraries

Graphics Library

C (libgl.a)

FORTRAN (libfgl.a)

C Syntax

void noise(Device valuator, Int16 delta)

FORTRAN Syntax

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.

Description

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.

Parameters

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.

Implementation Specifics

This subroutine is part of GL in the AIXwindows Environment/6000 Version 1, Release 2 with AIXwindows/3D Feature.

Files

/usr/include/gl/gl.h Contains C language constant and variable type definitions for GL.
/usr/include/gl/fgl.h Contains FORTRAN constant and variable type definitions for GL.
/usr/include/gl/device.h Contains C language constant and variable type definitions for GL.
/usr/include/gl/fdevice.h Contains FORTRAN constant and variable type definitions for GL.

Related Information

Assigning an initial value to a valuator with the setvaluator subroutine.

AIX Graphics Library Overview, Controlling Queues and Devices and Using the Keyboard.


[ Previous | Next | Contents | Glossary | Home | Search ]