Тест геймпада
Обнаруживайте подключенные контроллеры, визуализируйте кнопки и джойстики, считывайте оси и триггеры и тестируйте грохот, если он поддерживается.
Тестовый интерфейс
Ваш браузер может запросить разрешение после того, как вы нажмете «Пуск».Левый джойстик
Правый джойстик
| # | Кнопки | Прессованный | Ценить |
|---|---|---|---|
| — | |||
Как использовать этот инструмент
- 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.
Реклама
Техническое объяснение
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.
Поиск неисправностей
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.
Сопутствующие инструменты
Часто задаваемые вопросы
Реклама