> For the complete documentation index, see [llms.txt](https://book.bsdcn.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://book.bsdcn.org/man/man4/ams.4.md).

# ams.4

`ams` — ADB 鼠标驱动

## 名称

`ams`

## 概要

`要将此驱动编译进内核，请将以下行放入你的内核配置文件：`

> device adb

## 描述

`ams` 驱动为连接到 Apple Desktop Bus（ADB）的鼠标和触控板提供支持，实现了基本和扩展 ADB 鼠标协议。

## 硬件

`ams` 驱动支持的设备包括：

* Apple Mouse
* ADB Extended Mouse
* MacAlly 双键鼠标
* Apple iBook 触控板
* Apple PowerBook 触控板

## SYSCTL 变量

**`dev.ams.%d.tapping`** 在 ADB 触控板上，将此 sysctl 设置为 1 会使触控板上的点按被解释为按钮单击。

## 参见

Apple Tech Note HW01: ADB - The Untold Story: Space Aliens Ate My Mouse: `http://developer.apple.com/legacy/mac/library/technotes/hw/hw_01.html`

[adb(4)](/man/man4/adb.4.md), [cuda(4)](/man/man4/cuda.4.md), [pmu(4)](/man/man4/pmu.4.md)

## 历史

`ams` 设备驱动出现于 FreeBSD 8.0。

## 作者

`ams` 驱动由 Nathan Whitehorn <nwhitehorn@FreeBSD.org> 编写。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://book.bsdcn.org/man/man4/ams.4.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
