Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ attachcur(3G) — GL2 W3.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

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

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026