> For the complete documentation index, see [llms.txt](https://docs.parallels.com/landing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.parallels.com/landing/pdfm-ug/v27-zh-tw/parallels-desktop-for-mac-27-shi-yong-zhi-nan/parallels-desktop-pian-hao-she-ding-he-xu-ni-ji-qi-she-ding/xu-ni-ji-qi-she-ding/ying-ti-she-ding/hua-shu-he-jian-pan-she-ding.md).

# 滑鼠和鍵盤設定

在「**滑鼠和鍵盤**」窗格中，您可以檢視和設定與滑鼠和鍵盤相關的設定。

若要開啟這些設定，請選擇「**動作**」>「**設定**」>「**硬體**」，然後按一下「**滑鼠和鍵盤**」。

<figure><img src="https://content.gitbook.com/content/Pp2agomXHj0RwnM8quEs/blobs/2g29t3cRijLrTSYKZ2Sx/Screenshot%202024-01-19%20at%2017.58.07.png" alt="" width="563"><figcaption></figcaption></figure>

<table><thead><tr><th width="260">選項</th><th>描述</th></tr></thead><tbody><tr><td><strong>滑鼠</strong></td><td><p>如果您在虛擬機器中玩遊戲，該「<strong>滑鼠</strong>」功能表能夠讓您設定如何使用滑鼠：</p><ul><li><strong>自動檢測遊戲</strong>。推薦該選項為預設設定。如果您正運行虛擬機器作業系統應用程式，滑鼠可以在虛擬機器作業系統和 macOS 之間自由移動。但是，當您開始遊戲時，系統會自動捕捉虛擬機器中的滑鼠輸入，這樣您才不會因為不小心將滑鼠移動到 macOS，而當您退出遊戲時則會自動釋放滑鼠。</li><li><strong>針對遊戲最佳化</strong>。當您玩遊戲時您的滑鼠不小心移動到 macOS，請選擇該選項設定滑鼠僅在虛擬機器中執行。若要釋放滑鼠輸入並切換到 macOS，請按 Ctrl + Alt。</li><li><strong>不要針對遊戲最佳化</strong>。在極少數的情況下，Parallels Desktop 可能會將應用程式視作遊戲，而導致滑鼠在該應用程式上無法正常運作。如果您出現此問題，請選擇「<strong>不要針對遊戲最佳化</strong>」。</li></ul></td></tr><tr><td><strong>滑鼠指標黏附在視窗邊緣</strong></td><td><p>當您以 Window 檢視模式使用虛擬機器時，您可能需要經常將滑鼠指標移至虛擬機器視窗的邊緣，以顯示不同的客體作業系統項目：例如，當任何客體 macOS 應用程式以全螢幕執行時，顯示 Windows 8 中的開始功能表、Windows XP 中的隱藏工作列，或 macOS 功能表列。<br></p><p>「<strong>滑鼠指標黏附在視窗邊緣</strong>」選項會讓滑鼠指標在虛擬機器視窗邊緣停留一會，您就不會不小心把滑鼠移出虛擬機器視窗外。要移開邊緣，快速移動滑鼠即可。</p></td></tr><tr><td><strong>鍵盤</strong></td><td><p>如果您在動作遊戲中常使用修飾鍵 Option (Alt)、Ctrl 和 Shift，請從「<strong>鍵盤</strong>」功能表選擇「<strong>針對遊戲最佳化</strong>」。選取此選項時，將會立即處理來自這些按鍵的訊號。</p><p><strong>附註：</strong>沒有玩遊戲時，不建議針對遊戲最佳化鍵盤。部分含有 Ctrl、Alt、Shift 或 Option 按鍵的按鍵組合可能無法運作。</p></td></tr></tbody></table>

### 在 Linux 中調整捲動靈敏度

Intel 和 Apple Silicon Mac 上的 Linux 虛擬機器在滑鼠或觸控板設定為過度捲動靈敏度時，偶爾會出現問題。如果您遇到這樣的問題，則可以在 macOS 終端內執行以下命令來調整滾動靈敏度以符合您的喜好：

`$ defaults write "com.parallels.Parallels Desktop" "HID Host Hook.Scroll Sensitivity" X`

其中 X 是反向滾動靈敏度值。預設值為 20，最大值為 120。請注意，120 表示盡可能低的靈敏度。將值設為 120 時，您需要大力使用觸控板才能在 Linux VM 中捲動。

{% hint style="info" %}
**附註**：此命令僅適用於 Parallels Desktop for Mac 19.3 或更新版本，並且僅影響虛擬機器中的捲動靈敏度，而不會影響主要 macOS 系統。
{% endhint %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.parallels.com/landing/pdfm-ug/v27-zh-tw/parallels-desktop-for-mac-27-shi-yong-zhi-nan/parallels-desktop-pian-hao-she-ding-he-xu-ni-ji-qi-she-ding/xu-ni-ji-qi-she-ding/ying-ti-she-ding/hua-shu-he-jian-pan-she-ding.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
