This syntax should not be used if more than one X server will be run on the same computer, or if non-X programs will be directly accessing input devices. The X server interprets "first" to mean "first accessible", so you may not always get the first on the hp-HIL, just the first one not already in use.

Selecting Values for X*devices Files

X*devices files use the following special names for positions, devices, and uses:

Values for X*devices Files

Positions

Device Type (Device Class)

Uses

first

keyboard (keyboard)

keyboard

second

mouse (pointer)

pointer

third

tablet (pointer)

other

fourth

buttonbox (keyboard)

 

fifth

barcode (keyboard)1

 

sixth

one_knob (pointer)

 

seventh

nine_knob (pointer)2

 

 

quadrature (pointer)

 

 

touchscreen (pointer)

 

 

trackball (pointer)3

 

 

null

 

1The HP barcode reader has two modes: keyboard and ASCII. The modes are set via switches on the reader. If you set the barcode reader to ASCII transmission mode, it appears to the server as a barcode reader and the device name is therefore barcode. However, if you set the barcode reader to emulate a keyboard, the barcode reader appears as a keyboard and the device name should therefore be keyboard. What distinguishes a barcode reader set to keyboard mode from a real keyboard is the relative position or the device file name, depending on which syntax you use.

2The nine-knob box appears to the X server as three separate input devices. Each row of knobs is a separate device, and the first device is the bottom row.

3Similar to the barcode reader, the trackball appears to the server, not as a trackball, but as a mouse. Therefore, to specify a trackball, use the mouse device name. Again, what specifies the trackball instead of the real mouse is the relative position or the device filename, depending on which syntax you use.

Examples

You can create a system on which the X server runs, but which does not have any input devices. In this case, clients could be run from a remote terminal, or from a remote host, and their output directed to the X server. To create a system with no input, include the following lines in the X0devices file:

first null keyboard first null pointer

Page 84

Graphics Administration Guide for HP-UX 10.20