getdev(3G) — Silicon Graphics
NAME
getdev − reads 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 dev: data: Short);
DESCRIPTION
getdev allows up to 128 valuators and buttons to be input devices at one time. n specifies the number of devices. devs is an array of device number constants, such as MOUSEX, BPADX, LEFTMOUSE, etc. vals returns the state of each device in the corresponding location.
SEE ALSO
getvaluator Programming Guide, Section 7.3, Polling a Device
Version 3.6 — December 20, 1987