> For the complete documentation index, see [llms.txt](https://docs.perfectcs2.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.perfectcs2.com/referencia/teclas.md).

# Teclas

Nomes de teclas aceitos pela API.

Usados em [`ui.keybind`](/documentacao/api/ui.md#ui-keybind), [`input`](/documentacao/api/input.md) e nas opções de tecla do [`menu`](/documentacao/api/menu.md). Não diferenciam maiúsculas: `"f7"` e `"F7"` são a mesma tecla.

## Mouse

| Nome          | Atalho aceito   | Botão             |
| ------------- | --------------- | ----------------- |
| `MouseLeft`   | `Mouse1`, `LMB` | Esquerdo          |
| `MouseRight`  | `Mouse2`, `RMB` | Direito           |
| `MouseMiddle` | `Mouse3`, `MMB` | Rodinha (clique)  |
| `MouseX1`     | `Mouse4`        | Lateral de trás   |
| `MouseX2`     | `Mouse5`        | Lateral da frente |

## Letras, números e funções

* `A` a `Z`
* `0` a `9` (fila de cima)
* `F1` a `F24`
* `Keypad0` a `Keypad9`, `KeypadDecimal`, `KeypadDivide`, `KeypadMultiply`, `KeypadSubtract`, `KeypadAdd`, `KeypadEnter`, `KeypadEqual`

## Modificadores

| Nome                                | Atalho aceito                  |
| ----------------------------------- | ------------------------------ |
| `LeftShift`, `RightShift`           | `Shift` = `LeftShift`          |
| `LeftCtrl`, `RightCtrl`             | `Ctrl`, `Control` = `LeftCtrl` |
| `LeftAlt`, `RightAlt`               | `Alt` = `LeftAlt`              |
| `LeftSuper`, `RightSuper`           | Tecla Windows                  |
| `CapsLock`, `NumLock`, `ScrollLock` |                                |

## Navegação e edição

| Nome                                              | Atalho aceito  |
| ------------------------------------------------- | -------------- |
| `Tab`, `Space`, `Backspace`, `Menu`               |                |
| `Enter`                                           | `Return`       |
| `Escape`                                          | `Esc`          |
| `Insert`, `Delete`                                | `Ins`, `Del`   |
| `Home`, `End`                                     |                |
| `PageUp`, `PageDown`                              | `PgUp`, `PgDn` |
| `LeftArrow`, `RightArrow`, `UpArrow`, `DownArrow` |                |
| `PrintScreen`, `Pause`                            |                |

## Símbolos

`Apostrophe` (`'`), `Comma` (`,`), `Minus` (`-`), `Period` (`.`), `Slash` (`/`), `Semicolon` (`;`), `Equal` (`=`), `LeftBracket` (`[`), `Backslash` (`\`), `RightBracket` (`]`), `GraveAccent` (`` ` ``), `Oem102` (a tecla `\` extra dos teclados ABNT).

{% hint style="info" %}
Os nomes devolvidos pela API, por exemplo em `option:get()` de um keybind, são sempre os da primeira coluna, como `"MouseX1"` e `"LeftShift"`. Para comparar com o que a pessoa escolheu, use `input.key_name(...)` nos dois lados.
{% 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.perfectcs2.com/referencia/teclas.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.
