> For the complete documentation index, see [llms.txt](https://guide.cronuszen.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guide.cronuszen.com/gpcscripting/gpc-script-guide/inputs-and-outputs.md).

# Inputs and Outputs

Everything between the physical controller and the outgoing report.

<figure><img src="https://611779084-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyIhlDMEOMB6JOWTfU9zr%2Fuploads%2FAt24Qh25MLll3F9cXXF8%2Finput-layers.svg?alt=media&amp;token=b4059114-99c6-4d6f-91d6-c36a0c5cabf4" alt=""><figcaption></figcaption></figure>

Read raw, current, and previous values deliberately; recognize events and timing; then build one clear final output pipeline.

***

Work through these pages in order the first time. Return directly to any page later as a reference.

* [Choose the input layer intentionally](/gpcscripting/gpc-script-guide/inputs-and-outputs/choose-the-input-layer-intentionally.md)
* [Control value ranges](/gpcscripting/gpc-script-guide/inputs-and-outputs/control-value-ranges.md)
* [Edges, holds, and releases](/gpcscripting/gpc-script-guide/inputs-and-outputs/edges-holds-and-releases.md)
* [Toggle state without repeat firing](/gpcscripting/gpc-script-guide/inputs-and-outputs/toggle-state-without-repeat-firing.md)
* [Chords](/gpcscripting/gpc-script-guide/inputs-and-outputs/chords.md)
* [Group several controls safely](/gpcscripting/gpc-script-guide/inputs-and-outputs/group-several-controls-safely.md)
* [Writing outputs](/gpcscripting/gpc-script-guide/inputs-and-outputs/writing-outputs.md)
* [Blocking, swapping, sensitivity, and deadzone](/gpcscripting/gpc-script-guide/inputs-and-outputs/blocking-swapping-sensitivity-and-deadzone.md)
* [Polar sticks](/gpcscripting/gpc-script-guide/inputs-and-outputs/polar-sticks.md)
* [Cross-platform identifiers](/gpcscripting/gpc-script-guide/inputs-and-outputs/cross-platform-identifiers.md)
* [Keyboard input](/gpcscripting/gpc-script-guide/inputs-and-outputs/keyboard-input.md)
* [Touch and Wii IR](/gpcscripting/gpc-script-guide/inputs-and-outputs/touch-and-wii-ir.md)
* [Exclusive modes](/gpcscripting/gpc-script-guide/inputs-and-outputs/exclusive-modes.md)
* [Test matrix](/gpcscripting/gpc-script-guide/inputs-and-outputs/test-matrix.md)


---

# 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://guide.cronuszen.com/gpcscripting/gpc-script-guide/inputs-and-outputs.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.
