webgamepad

Configuring a webgamepad input controller allows you to use a web-based gamepad as a device to communicate with your machine.

To be able to test your gamepad as you configure it, physically connect your gamepad to your machine’s computer and turn both on.

Configuration

Use the following configuration for an input controller of model webgamepad:

{
  "components": [
    {
      "name": "WebGamepad",
      "model": "webgamepad",
      "api": "rdk:component:input_controller",
      "attributes": {},
      "depends_on": []
    }
  ]
}

Test the input controller

After you configure your input controller, open the input controller’s TEST panel on the CONFIGURE or CONTROL tabs. View the current value of each input on your controller.

The input controller component in the test panel.