INPUT-LINUX-MOUSE(7gii)

NAME
input-linux-mouse - Direct mouse input

SYNOPSIS

input-linux-mouse : [ mousetype
 [ ,file
 [ ,
 [ bbaud ]
 [ rrts ]
 [ ddtr ]
 ]
 ] ]

DESCRIPTION

This input opens a file (usually a device file or pipe) and reads mouse protocol data from it.

OPTIONS

mousetype
    Indicates what type of mouse is attached. The following types are supported:

    ms  Two button Microsoft compatible mice.

    ms3

    mman
        Serial Intellimouse or compatible. Supports four buttons for mice like the Logitech MouseMan+.

    msc MouseSystems compatible (used in most 3-button mice).

    logi
        Used in older Logitech serial mice.

    mm  MM series mice.

    sun Sun mice. The protocol is the same as 'msc' protocol except it used only 3 bytes per packet.

    mman
        MouseMan protocol.

    bm  Non-PS/2 busmice.

    ps2 PS/2 mice (most non-serial mice use this protocol)

    imps2
        PS/2 IntelliMouse and compatible.

    mmanps2
        PS/2 Logitech MouseMan+ and compatible.

Most of the strings supported by GPM, SVGAlib and XFree can be specified. The special value auto tells input-linux-mouse to read ~/.ggi/input/linux-mouse, and if that fails, $sysconfdir/ggi/input/linux-mouse. If none of the two files are found, input-linux-mouse tries to auto-detect the mouse, and as a last resort uses the mouse information specified in /etc/vga/libvga.config.

file
    The file to read mouse protocol data from; defaults to /dev/mouse.

bbaud
    Baud rate of mouse device

rrts
    Turns off RTS if set to 0; turns RTS on if set to a number greater than 0.

rdtr
    Turns off DTR if set to 0; turns DTR on if set to a number greater than 0.

FEATURES
Generates evPtr* events.

FILES

~/.ggi/input/linux-mouse and $sysconfdir/ggi/input/linux-mouse consists of the following entries:

mouse mousetype
mdev file

where mousetype and file has the same semantics as the invocation options of the same names.