Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

TPAD_$INTRO                       Domain/OS                        TPAD_$INTRO


NAME
     intro - locator (touchpad) manager calls

SYNOPSIS (C)
     #include <apollo/base.h>
     #include <apollo/tpad.h>

SYNOPSIS (Pascal)
     %include '/sys/ins/base.ins.pas';
     %include '/sys/ins/tpad.ins.pas';

SYNOPSIS (FORTRAN)
     %include '/sys/ins/base.ins.ftn'
     %include '/sys/ins/tpad.ins.ftn'

DESCRIPTION
     The tpad_$ system calls manage locating devices.

     The following is a list of the tpad_$ calls.

       tpad_$inq_dtype    return the last locator used
       tpad_$inquire      get information about the current locator response
       tpad_$re_range     re-establishes the touchpad raw data range
       tpad_$set_cursor   re-establish the locator origin in relative mode
       tpad_$set_mode     set pointing device response characteristics

   Data Types
     tpad_$mode_t
          This is an enumerated type for specifying how locator input is
          translated in to cursor movement.  Variables of this type can take
          one of the following values:

          tpad_$absolute
               Absolute mode maps the pointing space to a part of the screen
               dictated by the scaling factor and the origin value.  Thus,
               there is a one-to-one mapping between points in the pointing
               space and a subset of points on the screen.

          tpad_$relative
               In relative mode, the cursor responds only to device movement
               relative to the current position.  The response of the cursor
               simulates response to mouse movement.  This is the only mean-
               ingful mode to use with a mouse.

          tpad_$rel_abs
               In relative/absolute mode, the cursor responds as in absolute
               mode on first contact to establish a new current position.
               After first contact, the cursor responds as in relative mode.
               Momentary lifting of the finger from a touchpad (for less than
               about half a second) does not affect the cursor position.

     smd_$pos_t
          A record type for specifying display positions.

          line The vertical coordinate.

          column
               The horizontal coordinate.


           31                                                          16
           ______________________________________________________________
           |                            line                             |
           |_____________________________________________________________|
           |                           column                            |
           ______________________________________________________________
           15                                                           0


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