RCSid police and misc cleanup, and make all ?ms(4) pages refer to
busmouse(4). fixes PR port-i386/2611.
This commit is contained in:
parent
4a647ad6fa
commit
1891a8b131
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: busmouse.4,v 1.1 1996/11/12 19:27:32 explorer Exp $
|
||||
.\" $NetBSD: busmouse.4,v 1.2 1997/03/12 06:18:55 mikel Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1996 Michael Graff
|
||||
.\" All rights reserved.
|
||||
@ -29,24 +29,30 @@
|
||||
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
.\"
|
||||
.Dd November 12, 1996
|
||||
.Dd March 12, 1997
|
||||
.Dt busmouse 4
|
||||
.Os NetBSD 1.2B
|
||||
.Os NetBSD 1.3
|
||||
.Sh NAME
|
||||
.Nm busmouse
|
||||
.Nd
|
||||
Busmouse protocol
|
||||
.Nd Busmouse protocol
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <machine/mouse.h>
|
||||
.Sh DESCRIPTION
|
||||
Many of the mouse drivers provided internally convert the protocol
|
||||
the mouse uses to a common busmouse protocol.
|
||||
Many mouse drivers internally convert the protocol
|
||||
the mouse uses natively to a common busmouse protocol.
|
||||
.Pp
|
||||
Many of the drivers allow information to be retrieved from the driver using
|
||||
an
|
||||
The drivers allow information to be retrieved from the driver using an
|
||||
.Xr ioctl 2
|
||||
call or by reading the device directly using
|
||||
.Xr read 2 .
|
||||
.Pp
|
||||
The MOUSEIOCREAD ioctl, found in machine/mouse.h, returns a struct mouseinfo.
|
||||
The
|
||||
.Dv MOUSEIOCREAD
|
||||
.Xr ioctl 2
|
||||
is defined in the header
|
||||
.Aq Pa machine/mouse.h .
|
||||
It returns a
|
||||
.Li struct mouseinfo .
|
||||
.Pp
|
||||
When reading the mouse device directly, each change of button state or
|
||||
mouse movement generates a five byte event.
|
||||
@ -60,20 +66,17 @@ left. (char)
|
||||
.It 3
|
||||
Up/down movement. Positive values indicate up, negative down. (char)
|
||||
.It 4
|
||||
Reserved. Should be zero.
|
||||
Reserved. Should be zero. (char)
|
||||
.It 5
|
||||
Reserved. Should be zero.
|
||||
Reserved. Should be zero. (char)
|
||||
.El
|
||||
.Pp
|
||||
The direction bytes are signed characters, giving a range of +127 to -127.
|
||||
A positive value indicates movement to the right or up, and negative left
|
||||
or down.
|
||||
.Sh FILES
|
||||
.Bl -tag -width Pa -compact
|
||||
.El
|
||||
A positive value indicates movement to the right or up, and a negative
|
||||
value movement left or down.
|
||||
.Sh SEE ALSO
|
||||
.Xr ioctl 2 ,
|
||||
.Xr read 2 ,
|
||||
.Xr lms 4 ,
|
||||
.Xr mms 4 ,
|
||||
.Xr pms 4
|
||||
.Xr pms 4 .
|
||||
|
@ -1,3 +1,4 @@
|
||||
.\" $NetBSD: lms.4,v 1.7 1997/03/12 06:18:56 mikel Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1993 Christopher G. Demetriou
|
||||
.\" All rights reserved.
|
||||
@ -27,21 +28,20 @@
|
||||
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
.\"
|
||||
.\" $Id: lms.4,v 1.6 1996/11/12 19:27:29 explorer Exp $
|
||||
.\"
|
||||
.Dd August 6, 1993
|
||||
.Dd March 12, 1997
|
||||
.Dt LMS 4 i386
|
||||
.Os NetBSD 0.8a
|
||||
.Sh NAME
|
||||
.Nm lms
|
||||
.Nd
|
||||
Logitech-style bus mouse driver
|
||||
.Nd Logitech-style bus mouse driver
|
||||
.Sh SYNOPSIS
|
||||
.\" XXX this is awful hackery to get it to work right... -- cgd
|
||||
.Cd "lms0 at isa? port" \&"IO_BMS1\&" irq 5
|
||||
.Cd "lms0 at isa? port" \&"IO_BMS2\&" irq 5
|
||||
.Cd lms0 at isa? port 0x23c irq 5
|
||||
.Cd lms1 at isa? port 0x238 irq 5
|
||||
.Sh DESCRIPTION
|
||||
This driver provides an interface to a Logitech-style bus mouse.
|
||||
It uses the
|
||||
.Xr busmouse 4
|
||||
protocol.
|
||||
.Sh FILES
|
||||
.Bl -tag -width Pa -compact
|
||||
.It Pa /dev/lms0
|
||||
@ -50,4 +50,4 @@ first Logitech-style bus mouse
|
||||
.Sh SEE ALSO
|
||||
.Xr busmouse 4 ,
|
||||
.Xr mms 4 ,
|
||||
.Xr pms 4
|
||||
.Xr pms 4 .
|
||||
|
@ -1,3 +1,4 @@
|
||||
.\" $NetBSD: mms.4,v 1.7 1997/03/12 06:18:56 mikel Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1993 Christopher G. Demetriou
|
||||
.\" All rights reserved.
|
||||
@ -27,20 +28,20 @@
|
||||
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
.\"
|
||||
.\" $Id: mms.4,v 1.6 1996/11/12 19:27:30 explorer Exp $
|
||||
.\"
|
||||
.Dd August 6, 1993
|
||||
.Dd March 12, 1997
|
||||
.Dt MMS 4 i386
|
||||
.Os NetBSD 0.8a
|
||||
.Sh NAME
|
||||
.Nm mms
|
||||
.Nd
|
||||
Microsoft-style bus mouse driver
|
||||
.Nd Microsoft-style bus mouse driver
|
||||
.Sh SYNOPSIS
|
||||
.\" XXX this is awful hackery to get it to work right... -- cgd
|
||||
.Cd "mms0 at isa? port" \&"IO_BMS1\&" irq 5
|
||||
.Cd mms0 at isa? port 0x23c irq 5
|
||||
.Cd mms1 at isa? port 0x238 irq 5
|
||||
.Sh DESCRIPTION
|
||||
This driver provides an interface to a Microsoft-style bus mouse.
|
||||
It uses the
|
||||
.Xr busmouse 4
|
||||
protocol.
|
||||
.Sh FILES
|
||||
.Bl -tag -width Pa -compact
|
||||
.It Pa /dev/mms0
|
||||
@ -49,4 +50,4 @@ first Microsoft-style bus mouse
|
||||
.Sh SEE ALSO
|
||||
.Xr busmouse 4 ,
|
||||
.Xr lms 4 ,
|
||||
.Xr pms 4
|
||||
.Xr pms 4 .
|
||||
|
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: pms.4,v 1.8 1996/12/03 18:16:35 perry Exp $
|
||||
.\" $NetBSD: pms.4,v 1.9 1997/03/12 06:18:58 mikel Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1993 Christopher G. Demetriou
|
||||
.\" All rights reserved.
|
||||
@ -28,35 +28,26 @@
|
||||
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
.\"
|
||||
.Dd August 6, 1993
|
||||
.Dd March 12, 1997
|
||||
.Dt PMS 4 i386
|
||||
.Os NetBSD 0.8a
|
||||
.Sh NAME
|
||||
.Nm pms
|
||||
.Nd
|
||||
PS/2 auxiliary port mouse driver
|
||||
.Nd PS/2 auxiliary port mouse driver
|
||||
.Sh SYNOPSIS
|
||||
.Cd "pms0 at pckbd? irq 12
|
||||
.Cd pms0 at pckbd? irq 12
|
||||
.Sh DESCRIPTION
|
||||
This driver provides an interface to a PS/2 auxiliary port mice. The driver
|
||||
internally converts the PS/2 mouse output into the busmouse protocol.
|
||||
.Pp
|
||||
Information can be retrieved from the driver using an ioctl() call or
|
||||
by reading the device directly using read().
|
||||
.Pp
|
||||
The MOUSEIOCREAD ioctl, found in machine/mouse.h, returns a struct mouseinfo.
|
||||
.Pp
|
||||
When reading the mouse device directly, each change of button state or
|
||||
mouse movement generates a five byte event. The format of this message
|
||||
is described in
|
||||
This driver provides an interface to a PS/2 auxiliary port mouse. The
|
||||
driver internally converts the PS/2 mouse output into
|
||||
.Xr busmouse 4
|
||||
protocol.
|
||||
.Sh FILES
|
||||
.Bl -tag -width Pa -compact
|
||||
.It Pa /dev/pms0
|
||||
PS/2 mouse device file
|
||||
first PS/2 mouse device file.
|
||||
.El
|
||||
.Sh SEE ALSO
|
||||
.Xr ioctl 2 ,
|
||||
.Xr busmouse 4 ,
|
||||
.Xr lms 4 ,
|
||||
.Xr mms 4 ,
|
||||
.Xr busmouse 4
|
||||
.Xr mms 4 .
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user