Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getdev(3g) — GL2 W2.4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

getdev()  —  Silicon Graphics

NAME

getdev - read a list of valuators at one time

SPECIFICATION

C
getdev(n, devs, vals)
long n;
Device devs[];
short vals[];

FORTRAN
subroutine getdev(n, devs, vals)
integer*4 n
integer*2 devs(n), vals(n)

Pascal
procedure getdev(n: longint; var devs: Short; var vals: Short);

DESCRIPTION

The getdev command allows up to 128 valuators and buttons to be sampled at one time.  The parameter n specifies how many devices are to be sampled.  The argument devs is an array of device numbers like MOUSEX, BPADX, LEFTMOUSE, etc. The state of each device is returned in the array vals. 

SEE ALSO

getvaluator

Version 2.4  —  May 08, 1986

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