xref: /freebsd/share/man/man4/man4.powerpc/ams.4 (revision 6be3386466ab79a84b48429ae66244f21526d3df)
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.\" $FreeBSD$
27.\"
28.Dd December 3, 2009
29.Dt AMS 4
30.Os
31.Sh NAME
32.Nm ams
33.Nd ADB Mouse Driver
34.Sh SYNOPSIS
35To compile this driver into the kernel,
36place the following lines in your
37kernel configuration file:
38.Bd -ragged -offset indent
39.Cd "device adb"
40.Ed
41.Sh DESCRIPTION
42The
43.Nm
44driver provides support for mice and trackpads attached to the Apple Desktop
45Bus (ADB) implementing both the base and extended ADB mouse protocols.
46.Sh HARDWARE
47Devices supported by the
48.Nm
49driver include:
50.Pp
51.Bl -bullet -compact
52.It
53Apple Mouse
54.It
55ADB Extended Mouse
56.It
57MacAlly 2-Button Mouse
58.It
59Apple iBook Trackpad
60.It
61Apple PowerBook Trackpad
62.El
63.Sh SYSCTL VARIABLES
64.Bl -tag -width indent
65.It Va dev.ams.%d.tapping
66On ADB trackpads, setting this sysctl to 1 causes taps on the trackpad to
67be interpreted as button clicks.
68.El
69.Sh SEE ALSO
70Apple Tech Note HW01: ADB - The Untold Story: Space Aliens Ate My Mouse:
71.Pa http://developer.apple.com/legacy/mac/library/technotes/hw/hw_01.html
72.Pp
73.Xr adb 4 ,
74.Xr cuda 4 ,
75.Xr pmu 4
76.Sh HISTORY
77The
78.Nm
79device driver appeared in
80.Fx 8.0 .
81.Sh AUTHORS
82.An -nosplit
83The
84.Nm
85driver was written by
86.An Nathan Whitehorn Aq Mt nwhitehorn@FreeBSD.org .
87