WS(4)

NAME
WS - wscons pointer input driver for *BSD

SYNOPSIS
Section "InputDevice"
    Identifier "name"
    Driver "ws"
    Option "Buttons" "integer"
    Option "DebugLevel" "integer"
    Option "Device"  "path"
    Option "MinX" "integer"
    Option "MaxX" "integer"
    Option "MinY" "integer"
    Option "MaxY" "integer"
    Option "Rotate" "string"
    Option "SwapXY" "boolean"
    Option "ZAxisMapping" "N1 N2"
    Option "WAxisMapping" "N1 N2"
EndSection

DESCRIPTION
ws is an XFree86/X.Org input driver for pointer devices (mouse, tablet, touchscreen,...) drived by the wscons console driver on OpenBSD.

SUPPORTED HARDWARE
This driver supports zts(4) the touchscreen of Zaurus machines.

CONFIGURATION DETAILS
Please refer to xorg.conf(5) 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.

Option "Buttons" "integer"
    Specifies the number of mouse buttons. In cases where the number of buttons cannot be auto-detected, the default value is 3.

Option "DebugLevel" "integer"
    This option sets the verbosith level of the driver. It defaults to 0, which means no extra debug output.

Option "Device" "path"
    sets the path to the special file used by the device, ususally /dev/wsmouse . This option is mandatory.

Option "MinX" "integer"

Option "MaxX" "integer"

Option "MinY" "integer"

Option "MaxY" "integer"
    These options represent the coordinate space returned by the device. They default to the screen dimensions, since the calibration is handled in the kernel by the zts(4) driver and the ztsscale(8) utility.

Option "Rotate" "CW"

Option "Rotate" "CCW"

Option "Rotate" "UD"
    These options rotate the screen coordinates returned by the driver clockwise, counter-clockwise, or upside-down respectively.

Option "SwapXY" "boolean"
    swaps the X and Y axis of the input device if set. Default: false.

Option "ZAxisMapping" "N1 N2"
    Set the mapping for the Z axis (wheel) motion to buttons. Button number N1 is mapped to the negative Z axis motion and button N2 is mapped to the positive Z axis motion. Default: no mapping. Option "WAxisMapping" "N1 N2" Set the mapping for the W axis (horizontal wheel) motion to buttons. Button number N1 is mapped to the negative W axis motion and button N2 is mapped to the positive W axis motion. Default: no mapping.

SEE ALSO
Xorg(1), xorg.conf(5), uts(4), zts(4), sysctl(8), xtsscale(8), ztsscale(8).