Skip to content

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

Open

Description

@GinSoakedBoy

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

Activity

  1. ReenigneArcher commented on Sep 23, 2026

    @ReenigneArcher
    Member

    It creates a HID mouse and keyboard. I don't know anything about creating a lightgun.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions