Skip to main content

Input Devices

We now turn to a survey of graphic input devices as suggested in RFC 87. The survey will concern itself with the characteristics of the attention information presented when the device is used (rather than, for example, human factors considerations).

We wish to stress at the onset that we consider all devices equivalent in capability. By this we mean that with appropriate programming, any device can simulate any other device. Throughout the survey we will illustrate typical data conversions which might be performed, and at times discuss how various devices may be simulated.

It is convenient to consider the characteristics of classes of devices. Information about particular commercial devices may be found in reference 5 and elsewhere. Table I presents a device class summary.

4.1 Pushbuttons​

Perhaps the first and most primitive class of input devices is the pushbutton, which presents some unique code to the system when depressed. In the simplest case, the code is equivalent to the knowledge that the button has been pushed, and may be just a flag.

Beyond the basic pushbutton, more advanced key devices have been designed in a variety of ways. For example, each key may be associated with a single bit in a word or with a complex pattern (character or byte), multiple keys may or may not be able to be struck simultaneously (if so, their codes being combined in some defined way).

The salient feature of the function key is that it presents two pieces of information to the system: the fact that a keystroke has occurred (which may be implicit), and some unique code related to it.

More elaborate keyboards, be they teletypes or solid state devices with elaborate "overlays", are merely special cases of function keys. They present the same information, attention source plus a unique code. The fact that such a code may be associated with a displayable character is at this stage only incidental.

Since keyboards permit the entry of arbitrary codes, particular sequences of codes may easily be defined to simulate other devices. If local logic permits, codes may be accumulated until a complete sequence is entered and then be reformatted to exactly the same format as the device being simulated would have produced.

Pointing devices such as light pens and tablets may be simulated by associating particular keys with screen directions (up, down, right, left) and using them to position a pointer on the screen face. This facilitated on terminals with a hardware connection between keys and cursor symbol.

4.2 Analog Devices​

The next most basic class of input devices are those which consist of analog to digital converters. These include simple shaft encoders, mouse and trackball. These devices all produce a digital output proportional to an analog input, in this case, the rotation of a shaft. Several of these inputs may be presented together, as in the case of the mouse and trackball.

These devices all present as input a device identification (which may be implicit depending on the hardware method of input) together with a number of digital codes from the same number of analog devices. The length of the code is arbitrary and may or may not relate to such measures as the maximum raster count of the display screen.

Analog devices are often used as pointing devices by using the input to control the movement of a cursor on the screen face. This method is superior to the use of a keyboard, since very smooth and rapid movement may be obtained.

4.3 Tablets​

A tablet consists of a flat surface on which (X,Y) position may be indicated with a stylus. If position changes can be registered rapidly enough, arbitrary curves may be digitized by tracing them.

There are a variety of devices utilizing a variety of techniques comprising this class. Included are such diverse techniques as variable resistance, variable capacitance, and ultrasonics, to mention a few of the devices on the market. The surface may be horizontal or vertical and may even be superimposed on the screen itself. A variety of styli have been used, including the operator's finger. A device (the Lincoln Wand) has also been demonstrated which may be manipulated in space to yield a position in three dimensions (X,Y,Z).

These devices all present a device identification (which may be implicit), and a position value, which is most often a coordinate pair, but which may be a triple.

4.4 Light Pen​

Light pens are devices which relate the occurrence of an attention to the time in the refresh cycle when a particular point is illuminated on the screen. The display generators are generally stopped when the attention occurs, to permit either the display list "P" register or the (X,Y) beam position registers, or both to be presented as attention data. Often times this is not enough, as what is desired is some value which serves to identify the image which the pen detected. In such cases local hardware and/or software is utilized to obtain this information, which may be as simple as a single identification code or as elaborate as a genealogical push down list.

Light pens present as input a device identification (which may be implicit) and at least one of the following: memory address, (X,Y) position, item identification.

Light pens may be used to simulate keyboards by displaying "light buttons" on the screen associated with particular physical buttons. Detecting on a light button is logically equivalent to pushing the related key.

4.5 Internal Attentions​

Internal attentions are stimuli arising not from operator action, but from various sources within the terminal such as a screen edge violation (overflow) or a programmed trap. Such attentions present information in much the same way as the operator input devices already discussed. This information consists of an attention source identification (equivalent to device identification, and which may again, be implicit) and appropriate data, which, for the two examples given, will generally be a memory address.

Programmed traps are often used to permit mode changes (e.g., enable or disable light pen operation) during the execution of the display list. Edge violation might occur when an image is being relocated in response to operator input. We must provide for describing such attentions, since then cannot always be handled locally in the terminal.

4.6 Logical Attentions​

We may generalize the concept of an attention from a stimulus from a physical source to a logically generated stimulus resulting from some program condition which may or may not cause an interrupt. (Programmed traps were classified as internal attentions because, by definition, they cause an interrupt or set a hardware flag). Logical attentions are generally "input" by setting a software flag which some control program can periodically inspect. For example, logical attentions may be designed to detect when a software-defined edge violation occurs (of a region less than full screen) or when a light button is picked. There is no general form for the information generated by logical attentions, since they are programmable, rather than hardware-bound. The best we can do is to say they consist of an identification and appropriate data. Actually, logical attentions most often simulate physical attentions, and so each may be placed in one of the classes already described.

Table I. Input Device Summary​

                                TABLE I

INPUT DEVICE SUMMARY

DEVICE CLASS DEVICE EXAMPLES TYPICAL OUTPUT

Button Teletype 1 Character
Function Key with Overlay 1 Character and
overlay code
Buffered Keyboard n Characters

A/D Converter Shaft Encoder delta a
Mouse (delta a, delta b)
Tablet Rand Tables and (X,Y)
Lincoln Word (X,Y,Z)

Light Pen Light Pen P (memory address)
Light Pen (X,Y)
Light Pen and Local Software Item Name
Light Pen and Local Software Item name stack

Internal Program Trap P (memory address)
Screen Overflow P (memory address)

Logical Attention Any of the above Any of the above