Gamepad Setup in Rive: Buttons, D-Pad and Joysticks with Listeners
Rive can respond to gamepad input directly in the state machine. In this video, we build a small demo using Gamepad listeners: a button triggers a jump, holding another button changes color, the D-pad moves between items, and the left stick moves a box around.
The key thing to know up front: gamepad input only reaches an element that has focus. We start by making the artboard focusable and focusing it as soon as the state machine starts.
Docs: https://rive.app/docs/editor/state-machine/listeners#gamepad