getdev(3G)
getdev - reads a list of valuators at one time
As shipped in IRIX 6.5.30. Unchanged since IRIX 6.5.
NAME getdev - reads a list of valuators at one time C SPECIFICATION void getdev(n, devs, vals) long n; Device devs[]; short vals[]; PARAMETERS n expects the number of devices named in the devs array (no more than 128). devs expects an array containing the device identifiers (device number constants, such as MOUSEX, BPADX, LEFTMOUSE, etc.) of the devices you want to read. This array can contain up to 128 devices. vals expects the array into which you want the system to write the values read from the devices listed in the devs array. Each member in the vals array corresponds to a member of the devs array. Thus, the value at vals[3] was read from the device named in devs[3]. DESCRIPTION getdev allows you to read as many 128 valuators and buttons (input devices) at one time. SEE ALSO getbutton, getvaluator NOTE This routine is available only in immediate mode.