Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

libvirtualhid exposes generic HID VHF absolute pointer causing frontends to detect an active lightgun

Aperta
#5,784 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Ambito
desktop, game-dev

Direzione di ricerca

The issue is in libvirtualhid driver code that creates a VHF absolute pointer device. Look for the HID descriptor definitions and device instantiation logic in the Sunshine source, likely under src or a platform-specific windows directory. Understand how the virtual HID device is exposed and how its properties (like usage page) cause frontends to detect it as a lightgun. Testing requires building Sunshine on Windows and checking the created HID device with tools like HIDView.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Is there an existing issue for this?
  • I have searched the existing issues
Is your issue described in the documentation?
  • I have read the documentation
Is your issue present in the latest beta/pre-release?

This issue is present in the latest pre-release

Describe the Bug

When connecting via VoidLink with Sunshine configured to use libvirtualhid, the driver instantiates a Virtual HID Framework (VHF) absolute pointing / touch / digitizer device on the host system. Emulation frontends like RetroBat / EmulationStation read this generic raw input pointer ID as an active physical Lightgun (hid vhf), even when no pointer/touch inputs are actively being sent by the client.

Expected Behavior

libvirtualhid should either expose virtual gamepads without forcing a persistent absolute pointing/digitizer HID device node when touch passthrough is unused, or expose HID IDs that identify strictly as standard gamepads/mice rather than triggering generic lightgun/digitizer auto-detection.

Additional Context

This issue occurs if Sunshine is running, even if no client is connected.

Host Operating System

Windows

Operating System Version

11 22H2

Architecture

amd64/x86_64

Package

Windows - exe installer

GPU Type

NVIDIA

GPU Model

RTX 4070 Super

GPU Driver/Mesa Version

617.14

Capture Method

None

Apps

Log output

Online logs

No response

Lingua principale
C++
Stelle
41.4k
Fork
2.1k
Merge medio
18h 43m
PR unite (30g)
130

Preparare l'ambiente

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.

Altre issue di LizardByte/Sunshine

Tutte le issue di LizardByte/Sunshine

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.