getdev(3G) getdev(3G)
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)
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
Page 1 (printed 8/20/87)