NetBSD/share/man/man4/man4.i386/pms.4

63 lines
2.5 KiB
Groff
Raw Normal View History

1996-12-03 21:16:35 +03:00
.\" $NetBSD: pms.4,v 1.8 1996/12/03 18:16:35 perry Exp $
.\"
.\" Copyright (c) 1993 Christopher G. Demetriou
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\" notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
.\" 3. All advertising materials mentioning features or use of this software
.\" must display the following acknowledgement:
.\" This product includes software developed by Christopher G. Demetriou.
.\" 3. The name of the author may not be used to endorse or promote products
1994-01-29 04:43:03 +03:00
.\" derived from this software without specific prior written permission
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
.\" (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
.Dt PMS 4 i386
.Os NetBSD 0.8a
.Sh NAME
.Nm pms
.Nd
1993-10-31 01:20:11 +03:00
PS/2 auxiliary port mouse driver
.Sh SYNOPSIS
.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
1996-12-03 21:16:35 +03:00
.Xr busmouse 4
.Sh FILES
.Bl -tag -width Pa -compact
.It Pa /dev/pms0
1993-10-31 01:20:11 +03:00
PS/2 mouse device file
.El
.Sh SEE ALSO
.Xr ioctl 2 ,
.Xr lms 4 ,
.Xr mms 4 ,
.Xr busmouse 4