ゲームパッドテスト
接続されているコントローラーを検出し、ボタンとスティックを視覚化し、軸とトリガーを読み取り、サポートされている場合はランブルをテストします。
テストインターフェース
[スタート] を押した後、ブラウザーが許可を求める場合があります。左スティック
右スティック
| # | ボタン | プレスされた | 価値 |
|---|---|---|---|
| — | |||
このツールの使用方法
- 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.
関連ツール
よくある質問
広告