.\" Trim page to total height of text. .de sp-adj . br . pl \n[nl]u .. . .\" Set single-page mode .de sp-set . pl 99999 . em sp-adj .. .sp-set .if n .ds Q \&" .if t .ds Q `` .if n .ds U \&" .if t .ds U '' .TH "MOUSEMODE" 8 .tr \& .nr bi 0 .nr ll 0 .nr el 0 .de DS .. .de DE .. .de Pp .ie \\n(ll>0 \{\ .ie \\n(bi=1 \{\ .nr bi 0 .if \\n(t\\n(ll=0 \{.IP \\(bu\} .if \\n(t\\n(ll=1 \{.IP \\n+(e\\n(el.\} .\} .el .sp .\} .el \{\ .ie \\nh=1 \{\ .LP .nr h 0 .\} .el .PP .\} .. .SH NAME .Pp \fBmousemode\fP - tell an ADB mouse to use a given device handler ID .Pp .SH SYNOPSIS .Pp \fBmousemode\fP \f(CR[\fP\fImode\fP\f(CR]\fP .Pp .SH DESCRIPTION .Pp \fBmousemode\fP tells the mouse to use a given device handler ID (``mode''), and then asks the mouse what mode it's really in. The mouse only \&"sticks\&" in modes it supports. \fBmousemode\fP with no arguments just queries the mouse's mode and prints it, without trying to change it. .Pp .SH OPTIONS .Pp .nr ll +1 .nr t\n(ll 2 .if \n(ll>1 .RS .IP "\fImode\fP" .nr bi 1 .Pp number of mouse ``mode'', i.e. 4 is the extended mouse protocol .if \n(ll>1 .RE .nr ll -1 .Pp .SH FILES .Pp \fBmousemode\fP needs the following device: .nr ll +1 .nr t\n(ll 2 .if \n(ll>1 .RS .IP "\fI/dev/adb\fP" .nr bi 1 .Pp character device with major number 56 and minor number 0 .if \n(ll>1 .RE .nr ll -1 .Pp .SH AUTHORS .Pp .DS .sp .ft RR .nf Paul Mackerras (program) .DE .fi .ec .ft P .sp .DS .sp .ft RR .nf Richard van Hees (documentation) .DE .fi .ec .ft P .sp .Pp .SH BUGS .Pp none ;-) .Pp