Hiển thị & Đầu vào

Kiểm tra tay cầm chơi game

Phát hiện các bộ điều khiển được kết nối, trực quan hóa các nút và cần điều khiển, đọc trục và bộ kích hoạt cũng như kiểm tra tiếng ồn nếu được hỗ trợ.

Sự riêng tư: Dữ liệu gamepad được trình duyệt đọc cục bộ. Không có dữ liệu điều khiển được tải lên.
Nhãn giao diện và tên công cụ được dịch. Hướng dẫn chi tiết và câu hỏi thường gặp trên trang này hiện được viết bằng tiếng Anh.

Giao diện thử nghiệm

Trình duyệt của bạn có thể yêu cầu quyền sau khi bạn nhấn Bắt đầu.
Kết nối bộ điều khiển và nhấn một nút. Một số trình duyệt yêu cầu nhấn nút trước khi bộ điều khiển xuất hiện.

Thanh trái

Thanh bên phải

Bộ điều khiển—
Lập bản đồ—
Trục—
Đã kết nối—
#NútépGiá trị
—
Hỗ trợ bộ điều khiển khác nhau tùy theo trình duyệt và hệ điều hành. Rung là tùy chọn. Giá trị thanh analog có thể trôi đi một chút; đó là điều bình thường đối với nhiều bộ điều khiển.

Cách sử dụng công cụ này

  1. Connect your controller by USB or Bluetooth, then press a button to wake it.
  2. Click Scan controllers and wait for the device to appear.
  3. Press buttons and move sticks to see live values.
  4. Use the vibration button if your browser supports haptics, then disconnect safely.

Quảng cáo

Giải thích kỹ thuật

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.

Khắc phục sự cố

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.

Câu hỏi thường gặp

Quảng cáo