attachcursor(3G) — Silicon Graphics
NAME
attachcursor − attaches the cursor to two valuators
SPECIFICATION
C
attachcursor(vx, vy)
Device vx, vy;
FORTRAN
subroutine attach(vx, vy)
integer*4 vx, vy
Pascal
procedure attachcursor(vx, vy: Device);
DESCRIPTION
attachcursor attaches the cursor to the movement of two valuators. vx and vy are both valuator device numbers. (See Appendix A, Valuators, for a list of device numbers.) The first valuator (vx) controls the horizontal motion of the cursor; the second valuator (vy) determines vertical motion. The values of vx and vy determine the cursor position in screen coordinates.
SEE ALSO
noise, tie Programming Guide, Section 7.2, Initializing a Device
NOTE
This routine is available only in immediate mode.
Version 3.6 — December 20, 1987