xref: /freebsd/share/man/man4/man4.powerpc/ams.4 (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1.\"-
2.\" Copyright (c) 2009 Nathan Whitehorn <nwhitehorn@FreeBSD.org>
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright
9.\"    notice, this list of conditions and the following disclaimer.
10.\" 2. Redistributions in binary form must reproduce the above copyright
11.\"    notice, this list of conditions and the following disclaimer in the
12.\"    documentation and/or other materials provided with the distribution.
13.\"
14.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
15.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
16.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
17.\" DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
18.\" INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
19.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
20.\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
22.\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
23.\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
24.\" POSSIBILITY OF SUCH DAMAGE.
25.\"
26.Dd December 3, 2009
27.Dt AMS 4
28.Os
29.Sh NAME
30.Nm ams
31.Nd ADB Mouse Driver
32.Sh SYNOPSIS
33To compile this driver into the kernel,
34place the following lines in your
35kernel configuration file:
36.Bd -ragged -offset indent
37.Cd "device adb"
38.Ed
39.Sh DESCRIPTION
40The
41.Nm
42driver provides support for mice and trackpads attached to the Apple Desktop
43Bus (ADB) implementing both the base and extended ADB mouse protocols.
44.Sh HARDWARE
45Devices supported by the
46.Nm
47driver include:
48.Pp
49.Bl -bullet -compact
50.It
51Apple Mouse
52.It
53ADB Extended Mouse
54.It
55MacAlly 2-Button Mouse
56.It
57Apple iBook Trackpad
58.It
59Apple PowerBook Trackpad
60.El
61.Sh SYSCTL VARIABLES
62.Bl -tag -width indent
63.It Va dev.ams.%d.tapping
64On ADB trackpads, setting this sysctl to 1 causes taps on the trackpad to
65be interpreted as button clicks.
66.El
67.Sh SEE ALSO
68Apple Tech Note HW01: ADB - The Untold Story: Space Aliens Ate My Mouse:
69.Pa http://developer.apple.com/legacy/mac/library/technotes/hw/hw_01.html
70.Pp
71.Xr adb 4 ,
72.Xr cuda 4 ,
73.Xr pmu 4
74.Sh HISTORY
75The
76.Nm
77device driver appeared in
78.Fx 8.0 .
79.Sh AUTHORS
80.An -nosplit
81The
82.Nm
83driver was written by
84.An Nathan Whitehorn Aq Mt nwhitehorn@FreeBSD.org .
85