The following example specifies a Spatial System Spaceball® connected to the serial port associated
with device file /dev/tty0p0 as the X pointer:
Begin_Device_Description
Name spaceball.1
Path /dev/tty0p0
Use pointer
End_Device_Description
More examples of input device specifications for RS-232 input devices are in the
/usr/newconfig/etc/X11/X0devices file.
Specifying hp-HIL Input Device Use by Device Type and Position
The device can be specified using its device type and position by adding an entry to the X*devices file
with the following form:
<relative_position> <device_type> <use> #<comments>
where:
<relative_position>
Specifies the position of the device on the hp-HIL relative to the other devices on the hp-HIL, for
example, "first", "second", and so on.
<device_type>
Specifies the type of input device, such as "keyboard", "mouse", or "tablet".
<use>
Is "keyboard", "mouse", or "other".
#<comments>
Describes device. Comments are optional, but if present, must start with a "#".
Separate the parts of your entry with tabs or spaces.
The position of an input device on the hp-HIL is relative to other devices of the same type. For example
if you have two keyboards, a graphics tablet, and a mouse connected, they are referred to as "first
keyboard", "second keyboard", "first tablet", and "first mouse".
This syntax is useful for computers on which a single X server is running, and on which no other
programs directly access input devices. With this syntax, if you add a new input device to the hp-HIL,
you don't have to edit the X*devices file unless the device is of the same type as one already named in
the file and you add the device ahead of the existing device.
Graphics Administration Guide for HP-UX 10.20
Page 83