aux/mouse, aux/accupoint – configure a mouse to a port
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.
can be either a port number (e.g.
or the string
The initialization can be automated by setting
which will enable a call to
provides a default mouse type should
fail to determine it. The
Logitech type C mouse
Logitech type W mouse
Microsoft compatible mouse
flag queries the mouse and reports its type but does not set the device type.
flag sets the baud rate for communication; it is effectual only for serial mice.
is a process, to be used with
that processes events from an AccuPoint II pointing device
with four buttons, such as on Toshiba Portégé 3440CT and 3480CT
laptops, converting events on the two extra buttons
(which appear as buttons 4 and 5 in the
interface) into a simulation of button 2.
These extra buttons on laptops are in turn simulations of Intellimouse
scrolling buttons and have peculiar properties: they generate
only ‘down’ events that repeat automatically, like a keypad, in
an approximation of the Intellimouse scroll wheel.
overcomes this behavior to produce a reasonable approximation of
a normal mouse button 2:
it makes left button act like a regular button 2, but is slow to release (the
program must wait for a repeat time before it knows the button has been released),
while the right button generates a fast button 2 ‘click’.
add a line like this to
or to a system-dependent configuration script in
pipefile -dr /bin/aux/accupoint /dev/mouse
the mouse should be configured as an
Due to the limitations of
it is difficult restart
if it has exited.