HP (Hewlett-Packard) HP-UX Time Clock User Manual


 
Explicitly Specifying Input Device Use
The X server can be explicitly configured to use a specific input device as the X pointer or X keyboard,
or merge the data from an input device with that from the X pointer or keyboard. This configuration is
done by adding information to the X*devices file. There is one syntax to use for hp-HIL devices, and
another syntax for devices that require a device driver to be loaded by the X server (such as RS-232
devices). hp-HIL devices can be specified in either of two ways:
Device type and position.
Device file name.
Explicitly Specifying RS-232 Input Device Use
Some RS-232C input devices can be used with the X server. A device driver must exist for the desired
serial input device, and it must reside in the /usr/lib/X11/extensions directory. Input device drivers are
usually supplied by the input device vendor along with the input device. Sample input device drivers and
documentation describing how to write an input device driver may be found in the
/usr/contrib/X11drivers/input directory.
To use an RS-232 input device, you must modify the X*devices file to inform the X server which input
device driver is to be loaded, the serial port to which it is connected, and how it is to be used. This is
done by adding an entry to the X*devices file of the following form:
Begin_Device_Description
Name <device_driver_name>
Path <device_file_path>
Use <device_use>
End_Device_Description
where:
<device_driver_name>
Specifies the name of the input device driver shared library.
<device_file_path>
Specifies the name of the device file for the serial port being used.
<device_use>
Specifies the desired use of the input device, such as "keyboard", "pointer", "other", or
"extension".
Graphics Administration Guide for HP-UX 10.20
Page 82