Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ noise(3G) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



noise(3G)                                                            noise(3G)



NAME
     noise - filters valuator (mouse, cursor, and GL timer) motion

C SPECIFICATION
     void noise(v, delta)
     Device v;
     short delta;

PARAMETERS
     v       expects a valuator. A valuator is a single-value input device.

     delta   expects the number of units of change required before the
             valuator v can make a new queue entry.

DESCRIPTION
     noise determines how often queued valuators make entries in the event
     queue.  Some valuators are noisy. For example, a device that is not
     moving can still report small fluctuations in value.  noise is used to
     set a lower limit on what constitutes a move.  That is, the value of a
     noisy valuator v must change by at least delta before the motion is
     considered significant. For example, noise(v,5) means that valuator v
     must move at least 5 units before it makes a new queue entry.

     The default noise value for all valuators is 1, except for the timer
     devices (TIMERn), for which it is 10000.  The frequency of timer events
     is returned by the getgdesc inquiry GD_TIMERHZ.

SEE ALSO
     getgdesc, qdevice, setvaluator

NOTE
     This routine is available only in immediate mode.























                                                                        Page 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026