Teste de gamepad
Detecte controladores conectados, visualize botões e manípulos, leia eixos e gatilhos e teste ruído quando compatível.
Interface de teste
Seu navegador pode pedir permissão após você pressionar Iniciar.Controle esquerdo
Manípulo direito
| # | Botões | Pressionado | Valor |
|---|---|---|---|
| — | |||
Como usar esta ferramenta
- Connect your controller by USB or Bluetooth, then press a button to wake it.
- Click Scan controllers and wait for the device to appear.
- Press buttons and move sticks to see live values.
- Use the vibration button if your browser supports haptics, then disconnect safely.
Anúncio
Explicação técnica
The Gamepad API exposes connected devices through navigator.getGamepads(). Buttons, axes, triggers, and timestamps are polled with requestAnimationFrame. Vibration uses the experimental hapticActuators interface where implemented.
Browser mappings vary. A controller may be recognized while some buttons are unmapped or labelled incorrectly. Raw axis values are device-dependent.
Solução de problemas
Controller is not detected
Press a button after connecting; some browsers only expose a gamepad after user input. Check the operating-system game controller settings.
Wrong button mapping
The browser uses a standard mapping when available, but not every controller reports one. Compare raw indices instead.
Vibration does not work
Haptics support is limited by browser, operating system, and connection type.
Controller disconnects
Try a different USB port or cable, or reconnect Bluetooth. Battery level may be low.
Ferramentas relacionadas
Perguntas frequentes
Anúncio