SMALL LIBRARY. ANOTHER WAY IN.

The web,
within reach.

Give your interface a gamepad.
Keep your markup. Keep your framework.

npm install gamepadify

Vanilla JS / Angular / React / Vue / jQuery

01 THE PLAYGROUND

EXAMPLE INTERFACEPOINTER MODE

YOUR COLLECTION

Small worlds.

A small place to wander.

6 worlds

A CLOSER LOOK

Dune

Waiting for a controllerGAMEPAD API

A few attributes. That's it.

HTML + JAVASCRIPT
<button data-gamepad="xbox:lb">Menu</button>
<button data-gamepad-focusable>Explore</button>

const pad = createGamepadify({
  navigation: { confirm: 'xbox:a' },
  showHints: true,
});
pad.start();

xbox:a, ps:cross and switch:b all describe the bottom face button — south in the platform-neutral API. Prompts use your controller’s symbols.

Under the hood

EVENT LOG
  1. READY Waiting for input.
01

Your framework stays yours.

A dependency-free core. Thin adapters. Public APIs and ordinary DOM events.

02

Focus has a direction.

The stick follows the layout, including scrollable containers and scoped dialogs.

03

Ambiguity gets noticed.

Conflicting actions stop and explain themselves. Chords take precedence over single presses.