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, browse 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:

ModelDescription
fakeA model for testing, with no physical hardware.
gamepadSupports X-box, Playstation, and similar controllers with Linux support.
gpioCustomizable GPIO/ADC based device using a board component.
muxSupports multiplexed controllers, combining multiple sources of input.
webgamepadSupports a remote, web based gamepad.