DevicesDoc.tioga
Bier, October 31, 1991 1:23 pm PST
Kenneth A. Pier, January 9, 1992 3:28 pm PST
Devices
PCEDAR 2.0 % FOR INTERNAL XEROX USE ONLY
Devices
Representing Input Devices and Their States
Eric A. Bier
Ó Copyright 1991, 1992 Xerox Corporation. All rights reserved.
Abstract: In the past, Cedar represented exactly two input devices, the mouse and keyboard. The possible events from these devices such as mouse motion and button presses were represented explicitly in general purpose interfaces such as UserInput. Furthermore, the implementation of UserInput and other packages explicitly represents and stores the state of these two input devices. The Device package explicitly represents input devices and their states, making it possible to represent new types of input devices and multiple instances of the same device.
Created by: Eric A. Bier
Maintained by: Eric A. Bier <Bier>
Keywords: mouse, keyboard, FastTRAP, Wacom, digitizer, tablet, pen, stylus, multi-user, multi-device, input handling, input devices
XEROX  Xerox Corporation
   Palo Alto Research Center
   3333 Coyote Hill Road
   Palo Alto, California 94304

For Internal Xerox Use Only
1. Introduction
This package currently supports the FastTRAP (trackball) input device and the Wacom digitizer. See below for detailed descriptions. We plan to support mouse and keyboard devices in the future.
2. The FastTRAP
The FastTRAP(TM) device, manufactured by MicroSpeed Inc. of Fremont, California, provides a 2 degree of freedom track ball, three buttons, and a thumbwheel. While the FastTRAP is intended for use with the IBM PC, it connects to the RS232 port of a SPARCstation, and Ken Pier has written a driver for it for RawViewers running on SPARCstations. The driver operates in one of two modes, using the trackball to either drive a PCedar cursor (with 3 buttons) or to send 3D location and button information to the UserInput action queue.
2. The Wacom digitizer
The Wacom digitizer, manufactured by Wacom Inc. of Paramus, New Jersey, provides a standard high-resolution digitizing tablet with a pressure sensitive tip. It connects to the RS232 port of a SPARCstation, and Ken Pier has written a driver for it for RawViewers running on SPARCstations. The driver operates in one of two modes, using the pen to either drive a PCedar cursor (with a single button) or to send location and pressure information to the UserInput action queue.