.TH MOUSE 8
.SH NAME
aux/mouse \- configure a mouse to a port
.SH SYNOPSIS
.B aux/mouse
[
.I -d type
]
.I port
.SH DESCRIPTION
.B 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.
.PP
.I Port
can be either a port number (e.g. 
.B 0
or
.BR 1 )
or the string
.BR ps2 .
.PP
The option
.B -d
provides a default mouse type should
.B mouse
fail to determine it.  The
types are:
.IP C
Logitech type C mouse
.IP W
Logitech type W mouse
.IP M
Microsoft compatible mouse
.SH SOURCE
.B /sys/src/cmd/aux/mouse.c
.SH SEE ALSO
.IR cons (3)
