> For the complete documentation index, see [llms.txt](https://docs.spadnext.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.spadnext.com/extending-and-apis/serial-connection/device-communication-flow/device-config-phase/device-input-configuration.md).

# Device INPUT configuration

`0,INPUT,<Index>,<Tag>,<Type>[,<Inherit>[,<OPTIONS>]];`

All input definition follow the same definition.

\<Index> being a numeric index that is used for sending input updates to SPAD.neXt

\<Tag> being the internal name of the input. This will be used for identifying actions bound to this input

\<type> being the internal type of the input

\<inherit> the default events to include in this input. if it's not provided the definition must provide the custom events.

\<options> optional options to alter the behavior/ui of an input

### Options supported for all Inputs and Outputs

|                 |                                                                                             |   |
| --------------- | ------------------------------------------------------------------------------------------- | - |
| NO\_LABEL=1     | Disable the state-value label above the input in SPAD.neXt standard UI                      |   |
| ORDER=\<number> | Defines the ordering in SPAD UI. Default 0 = All elements are shown in order as they arrive |   |
|                 |                                                                                             |   |

### Sending INPUT updates

For all inputs the devices uses the channel 8 to send updates to SPAd.neXt:

`8,<index>,<value>;`

\<index> being the index given in the input configuration

\<value> being the new value


---

# 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://docs.spadnext.com/extending-and-apis/serial-connection/device-communication-flow/device-config-phase/device-input-configuration.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.
