pad-nav example

Drive this menu with a connected gamepad (press any button first so the browser notices it), or use the on-screen pad below. D-pad or left stick moves, A picks, B goes back, Start opens or closes the pause panel. In Options, A on the volume slider lets left and right change it (A or B to finish), and A on Difficulty cycles the choices.

Controller: none detected yet. The on-screen pad below works without one.

On-screen pad

Hold a button to repeat. Same code path as a real controller.