xref: /netbsd-src/share/man/man4/wsmouse.4 (revision d710132b4b8ce7f7cccaaf660cb16aa16b4077a0)
1.\" $NetBSD: wsmouse.4,v 1.11 2003/05/06 18:59:46 wiz Exp $
2.\"
3.\" Copyright (c) 1999
4.\" 	Matthias Drochner.  All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright
10.\"    notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\"    notice, this list of conditions and the following disclaimer in the
13.\"    documentation and/or other materials provided with the distribution.
14.\"
15.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25.\" SUCH DAMAGE.
26.\"
27.Dd April 16, 2002
28.Os
29.Dt WSMOUSE 4
30.Sh NAME
31.Nm wsmouse
32.Nd generic mouse support in wscons
33.Sh SYNOPSIS
34.Cd "wsmouse*   at pms? mux 0"
35(PS/2 mouse, including ``IntelliMouse''-compatible wheel mice)
36.Cd "wsmouse*   at ums? mux 0"
37(USB mouse)
38.Cd "wsmouse*   at lms? mux 0"
39(Logitech bus mouse, i386 only)
40.Cd "wsmouse*   at mms? mux 0"
41(Microsoft InPort mouse, i386 only)
42.Cd "wsmouse0   at ams? mux 0"
43(Apple ADB mouse)
44.Sh DESCRIPTION
45The
46.Nm
47driver is an abstraction layer for mice within the
48.Xr wscons 4
49framework. It is attached to the hardware specific keyboard drivers and
50provides a character device interface. For use with X servers,
51.Dq mouse events
52can be generated.
53.Pp
54The
55.Nm
56driver provides a number of ioctl functions to control
57various parameters. A complete list is in
58.Pa /usr/include/dev/wscons/wsconsio.h .
59The
60.Xr wsconsctl 8
61utility gives access to these variables.
62.Sh FILES
63.Bl -item
64.It
65.Pa /dev/wsmouse*
66.It
67.Pa /usr/include/dev/wscons/wsconsio.h .
68.El
69.Sh SEE ALSO
70.Xr lms 4 ,
71.Xr mms 4 ,
72.Xr pms 4 ,
73.Xr ums 4 ,
74.Xr wscons 4 ,
75.Xr wsmux 4 ,
76.Xr moused 8 ,
77.Xr wsconsctl 8 ,
78.Xr wsmoused 8 ,
79.Xr wsmouse 9
80