3 aux/mouse, aux/accupoint \- configure a mouse to a port
20 queries a mouse on a serial or PS2 port for
21 its type and then configures the port and the
22 mouse to be used to control the cursor.
25 can be either a port number (e.g.
33 The initialization can be automated by setting
37 which will enable a call to
46 provides a default mouse type should
48 fail to determine it. The
55 Microsoft compatible mouse
59 flag queries the mouse and reports its type but does not set the device type.
63 flag sets the baud rate for communication; it is effectual only for serial mice.
66 is a process, to be used with
68 that processes events from an AccuPoint II pointing device
69 with four buttons, such as on Toshiba Portégé 3440CT and 3480CT
70 laptops, converting events on the two extra buttons
71 (which appear as buttons 4 and 5 in the
73 interface) into a simulation of button 2.
74 These extra buttons on laptops are in turn simulations of Intellimouse
75 scrolling buttons and have peculiar properties: they generate
76 only `down' events that repeat automatically, like a keypad, in
77 an approximation of the Intellimouse scroll wheel.
79 overcomes this behavior to produce a reasonable approximation of
80 a normal mouse button 2:
81 it makes left button act like a regular button 2, but is slow to release (the
82 program must wait for a repeat time before it knows the button has been released),
83 while the right button generates a fast button 2 `click'.
86 add a line like this to
87 .B /usr/$user/lib/profile
88 or to a system-dependent configuration script in
94 pipefile -dr /bin/aux/accupoint /dev/mouse
99 the mouse should be configured as an
102 .BR ps2intellimouse .
104 .B /sys/src/cmd/aux/mouse.c
106 .B /sys/src/cmd/aux/accupoint.c
112 Due to the limitations of
116 it is difficult restart