If you had a more complicated configuration, such as two graphics tablets, two keyboards, and a barcode reader, your X*devices file could look like this:

first tablet pointer The pointer

second tablet other Merged with the pointer

first keyboard other Merged with the keyboard

second keyboard keyboard The keyboard

first barcode other Merged with the keyboard

In this example, the first tablet acts as the pointer, the second keyboard acts as the keyboard, input from the second tablet is treated as if it came from the X pointer, and input from the first keyboard and the barcode reader is treated as if it came from the X keyboard.

____________________________________________________________________________________

Note: The barcode reader is in ASCII mode in this example. If the barcode reader were in keyboard mode, the last line of the example would read as follows:

third keyboard other

More examples can be found in the X0devices file in /usr/newconfig/etc/X11.

____________________________________________________________________________________

Specifying hp-HIL Input Device Use by Device File Name

The device can be specified using the name of the device to which it is attached. This can be done by adding an entry to the X*devices file with the form: /<path>/<device_file> <use> #<comments>

where:

<path>/<device_file>

Specifies the name of the device file associated with the input device.

<use>

is "keyboard", "pointer", or "other". #<comments>

Describes the device. Comments are optional, but if present, must be preceded by a "#".

This syntax should be used if more than one X server will be running on the computer, or if non-X programs will be accessing the input devices. It refers to a specific position on the hp-HIL.

Page 85

Graphics Administration Guide for HP-UX 10.20