LizardByte / LizardByte/libvirtualhid

Linux: Browser Gamepad API omits DualShock 4 and DualSense touchpad button

Đang mở
#82 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

@LizardByte-bot đang làm issue này rồi.

Từ ngày 15/8/2026.

Ngôn ngữ chính
C++
Star
54
Fork
15
Merge trung bình
11 giờ 32 phút
Pull request đã merge (30 ngày)
34

Mô tả

Environment

Observed behavior

Neither browser exposes the touchpad click button for the virtual DualShock 4 or DualSense.

Example DualSense identities:

  • Chromium: Sunshine (libvirtualhid) PS5 Controller (STANDARD GAMEPAD Vendor: 054c Product: 0ce6)
  • Firefox: 054c-0ce6-Sunshine (libvirtualhid) PS5 Controller

The gamepad-helper mapping already assigns PlayStation button index 17 to the touchpad, so the missing value occurs before presentation when the browser's Gamepad.buttons collection is populated.

Expected behavior

The touchpad click should be exposed as a browser gamepad button and rendered with the existing touchpad mapping.

Investigation boundary

Compare raw browser Gamepad API state with hidraw/evdev reports and each browser's standard-mapping behavior. Do not change the public controller mapping or Windows backend unless the captured report path proves that is required.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.