NAME
aux/mouse, aux/accupoint – configure a mouse to a port |
SYNOPSIS
aux/mouse [ –b baud ] [ –d type ] [ –n ] port
aux/accupoint |
DESCRIPTION
Mouse queries a mouse on a serial or PS2 port for its type and
then configures the port and the mouse to be used to control the
cursor. Port can be either a port number (e.g. 0 or 1) or the string ps2 or ps2intellimouse. The initialization can be automated by setting mouseport in plan9.ini(8), which will enable a call to mouse in termrc (see cpurc(8)).
The option –d provides a default mouse type should mouse fail to
determine it. The types are: The –n flag queries the mouse and reports its type but does not set the device type.
The –b flag sets the baud rate for communication; it is effectual
only for serial mice.
|
SOURCE
/sys/src/cmd/aux/mouse.c /sys/src/cmd/aux/accupoint.c |
SEE ALSO
cons(3), cpurc(8), pipefile(1). |
BUGS
Due to the limitations of pipefile(1), when running accupoint
it is difficult restart rio(1) if it has exited. |