# Live Input Sweep

A "Step input" button that first calls `setConnected(true)` to plug in a large DualSense pad, then walks `updateState(buttons, axes, triggers)` through a scripted three-frame sweep - different face buttons and bumpers light up, the analog sticks swing to new positions, and the trigger bars fill to varying amounts. It mirrors how a host engine polls the Gamepad API each tick and pushes the snapshot straight into the live SVG without rebuilding the component.
