Java Desktop System Release 3 Accessibility Guide

A.4 Configuring the X Server for Multiple Input Devices

To configure the system to use a standard physical mouse and another input device such as a single switch device or head tracker device, perform the following steps:

  1. Before you connect the auxiliary input device to your system, enter the following command to list the existing devices:

    ls -l /dev/usb/hid*

  2. Connect the auxiliary device to your system.

  3. Enter the following command again to list the new input device:

    ls -l /dev/usb/hid*

  4. Open the file /usr/openwin/server/etc/OWconfig.

  5. Add the following lines to the OWconfig file:

    # Sun Mouse module
    	class="XINPUT" name="IMOUSE2"
    	dev="/dev/usb/hid2" strmod="usbms"
    	ddxHandler="ddxSUNWmouse.so.1"
    	ddxInitFunc="ddxSUNWmouseProc";

    where:

    • the name option starts with the string IMOUSE but is extended to form a unique string, such as IMOUSE2 or IMOUSE3, depending on the number of existing devices.

    • the dev option specifies the device name that you identified in Step 3.

  6. Remove the following lines from the OWconfig file:

    # Null Mouse module
    	class="XINPUT" name="NMOUSE"
    	ddxHandler="ddxSUNWmouse.so.1"
    	ddxInitFunc="ddxnullmouseProc";

  7. Restart the X Server.