Linux Blog

UR98

Section: Devices and Network Interfaces (4)
Updated: xf86-input-ur98 1.1.0
Index Return to Main Contents
 

NAME

UR-98 - UR98 (TR88L803) head tracker driver  

SYNOPSIS

Section N'34'InputDeviceN'34'
Identifier N'34'idevnameN'34'
Driver N'34'UR-98N'34'
Option N'34'DeviceN'34' N'34'devpathN'34'
  ...
EndSection  

DESCRIPTION

UR-98 is an Xorg input driver for the Union Reality UR-F98 headtracker.

The UR-98 driver functions as a pointer input device, and can be used either as an additional input device or as the X server's core pointer. The driver provides support for the three axes, throttle and four buttons of the controller. If mapped as the core pointer the headtracker provides headtracking to try and place the mouse cursor where you look. As a secondary input device the unit can be used for gaming, for example to provide the look up/down and the turn in quake, and with the Z axis bound to ack/forward to provide movement control.

The default mapping maps left-right movement to X, up-down movement to Y and near/far movement to the Z axis. The throttle is mapped as the fourth axis by default but can also be mapped as button 5.

For use in "head only" mode the Z axis can be mapped as a button. This allows the user to select objects with head/neck movement alone but takes some practice to use well.

 

SUPPORTED HARDWARE

Union Reality UR-98. While this is a joystick driver the behaviour is absolute so this driver is not useful for true joystick interfaces.  

CONFIGURATION DETAILS

Please refer to xorg.conf(5x) for general configuration details and for options that can be used with all input drivers. This section only covers configuration details specific to this driver.

The following driver options are supported

Option N'34'MinXN'34' N'34'integerN'34'
Set the left hand X value from the headgear, for calibration.
Option N'34'MaxXN'34' N'34'integerN'34'
Set the right hand X value from the headgear, for calibration.
Option N'34'MinYN'34' N'34'integerN'34'
Set the top Y value from the headgear, for calibration.
Option N'34'MaxYN'34' N'34'integerN'34'
Set the bottom Y value from the headgear, for calibration.
Option N'34'MinZN'34' N'34'integerN'34'
Set the nearest Z value from the headgear, for calibration.
Option N'34'MaxZN'34' N'34'integerN'34'
Set the furthest Z value from the headgear, for calibration.
Option N'34'MinTN'34' N'34'integerN'34'
Set the low throttle value from the headgear, for calibration.
Option N'34'MaxTN'34' N'34'integerN'34'
Set the high throttle value from the headgear, for calibration.
Option N'34'ScreenN'34' N'34'integerN'34'
The screen to attach to the headgear when running with multiple screens. The default is screen 0.
Option N'34'DeviceN'34' N'34'stringN'34'
The joystick port that is attached to the headgear interface. This is usually /dev/input/js0. The digital port is not supported due to lack of documentation.
Option N'34'DeviceNameN'34' N'34'stringN'34'
Set the X11 device name for the headgear. This defaults to HEAD.
Option N'34'PortraitModeN'34' N'34'stringN'34'
Set the display orientation. The default is "landscape" but you can rotate the screen clockwise ("portrait") or anticlockwise ("portraitCCW").
Option N'34'SwapXYN'34' N'34'booleanN'34'
Swap the X and Y values on the display. The default is false.
Option N'34'Button5N'34' N'34'booleanN'34'
Map the throttle as a button instead of axis 4. For some gaming applications this can be more useful. The default is to map the throttle as axis 4.
Option N'34'HeadButtonN'34' N'34'booleanN'34'
Map the Z axis as button 1. This defaults to false.
Option N'34'HeadThreshN'34' N'34'booleanN'34'
Set the distance that is held to be mouse down.
Option N'34'HeadLockN'34' N'34'booleanN'34'
Set the range of depth around the mouse down point where mouse x and y movement is locked out. Set to zero to disable.
 

BUGS

The "HeadButton" option is currently not implemented.

The hardware or kernel driver has some idiosyncracies. Notably on kernel initialization the interface occasionally gets into a state where the readings rapidly cycle left-right-left-right or top-bottom-top-bottom. In those cases it seems to be necessary to unload the driver, unplug, replug and reload the joystick drivers. Once it initializes sanely it remains sane.

If the device refuses to work check the gray/black cables are plugged into the right ports on the unit. Be careful about this as crossing the cables can lead to the device failing with a nasty burning electronics smell. The author writes from direct experience.

This driver is currently Linux specific.

 

SEE ALSO

Xorg(1x), xorg.conf(5x), xorgconfig(1x), Xserver(1x), X(7).  

AUTHORS

Authors include...
 Alan Cox


 

Index

NAME
SYNOPSIS
DESCRIPTION
SUPPORTED HARDWARE
CONFIGURATION DETAILS
BUGS
SEE ALSO
AUTHORS




Random Man Pages:
gfdl
regex
QUriDrag
QTimer