Input Controller Component | Built-in components
Input Controller Component
This section documents the configuration attributes for each built-in input controller model. Use these pages when you are writing a JSON configuration, debugging a config validation error, or looking up the default for a specific attribute.
- For how to add and configure a input controller component on your machine, see Input controller.
- For the methods you call on a input controller in code, see the Input controller API reference.
- For input controller models outside the built-in set, search for
input controllerin the Viam registry. Each registry module’s configuration is documented in its own README on its registry page.
Built-in models
The following input controller models ship with viam-server:
| Model | Description |
|---|---|
fake |
A model for testing, with no physical hardware. |
gamepad |
Supports X-box, Playstation, and similar controllers with Linux support. |
gpio |
Customizable GPIO/ADC based device using a board component. |
mux |
Supports multiplexed controllers, combining multiple sources of input. |
webgamepad |
Supports a remote, web based gamepad. |