Linux: Browser Gamepad API omits DualShock 4 and DualSense touchpad button
@LizardByte-bot is already working on this.
Since Aug 15, 2026.
Assessment
This issue has not been assessed yet.
Description
Environment
- Host OS: Linux
- Virtual controller provider: libvirtualhid through Sunshine
- Affected profiles: DualShock 4 and DualSense
- Consumers: Firefox and Chromium
- Tester: https://app.lizardbyte.dev/gamepad-tester/
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.
- Dominant language
- C++
- Stars
- 57
- Forks
- 15
- Avg merge
- 11h 15m
- Merged PRs (30d)
- 33
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from LizardByte/libvirtualhid
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
LizardByte/libvirtualhid#150 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 78/100
LizardByte/libvirtualhid#134 · 1 comment ·
-
LizardByte/libvirtualhid#106 · 1 assignee ·
-
LizardByte/libvirtualhid#84 · 1 assignee ·
-
LizardByte/libvirtualhid#83 · 1 assignee ·
All issues in LizardByte/libvirtualhid
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
AXERA-TECH/ax-llm#77 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
games-on-whales/wolf#509 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
bug-unconfirmed
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
NVIDIA/cuda-samples#453 ·