LizardByte / LizardByte/libvirtualhid

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

Aperta
#82 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@LizardByte-bot ci sta già lavorando.

Dal 15/8/2026.

Lingua principale
C++
Stelle
54
Fork
15
Merge medio
11h 32m
PR unite (30g)
34

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.