Input Controller

The input controller allows a user to change the input of an entertainment device. For more details, see the Alexa.InputController interface.

Enable the input controller in the Sample App

You enable the input controller capability independently of the video device control capabilities by using the following CMake flag.

-DENDPOINT_CONTROLLERS_INPUT_CONTROLLER=ON

Input controller endpoint handler configuration

To configure the input controller endpoint handler, you must provide a list of the inputs supported on the device. For the exhaustive list of supported inputs, see Input property values. You can find a sample implementation of the endpoint handler on Github.

You register the input controller capability agent as an observer to the endpoint handler. When the input changes, for example, when the user changes the input with remote control, the input controller capability agent gets notified.