Control Interactive Content with a Gamepad

Plug in a gamepad and immediately manipulate interactive content with its controls.

Make interactive content

Make an interactive polygon with controls for the size and number of sides:

In[1]:=

Out[1]=

PlayAnimation

Connect a gamepad

Plug in a wired gamepad or connect to a wireless one:

Control the interactive content from the gamepad

Select the cell bracket of the interactive graphic. Operate the gamepad controls to change the polygon:

Notes

Gamepad controls are assigned to interactive controls in the order they appear in the interface. To specify the mapping explicitly, precede the interactive controls with the names of the gamepad controls: