Skip to content

[Feature Request] On-Screen Gamepad Support #223

Description

@imxade
  1. Client-Side (Browser)
    Implement an on-screen virtual joypad and buttons overlay on the screen mirroring web UI.
    Detect touch/click events on these virtual buttons and joysticks.
    Transmit the controller state changes over the existing WebSocket connection (or WebRTC data channel) to the server.
  2. Server-Side (Host)
    Receive the controller state payloads from the client.
    Use FFI (Foreign Function Interface) bindings to interact with OS-level virtual input device APIs.

Reference: https://github.com/pthsarmah/streamer

Activity

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions