getdev(3G) getdev(3G)
getdev - reads a list of valuators at one time
void getdev(n, devs, vals)
long n;
Device devs[];
short vals[];
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].
getdev allows you to read as many 128 valuators and buttons (input
devices) at one time.
getbutton, getvaluator
This routine is available only in immediate mode.
PPPPaaaaggggeeee 1111 [ Back ]
|