libsdl-org / libsdl-org/SDL

Extended Web Game Controller Support

Open
#15,134 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
16.6k
Forks
3k
Avg merge
12h 38m
Merged PRs (30d)
64

Description

Currently the Web version of SDL uses the limited Web Gamepad API. Unfortunately that API has a limited feature set. Web HID was introduced in Chromium in 2021 and there are a number of consumer products using it. It would be nice if there was an option to use SDL's HID support to provide extended support for Steam Controllers and other such hardware and features not supported by the normal gamepad API.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue does not name files or tests. Start by locating SDL's Web Gamepad API path and existing SDL HID support, then determine how an optional Web HID backend would fit the Web build. Done should provide extended support for Steam Controllers and other hardware or features unavailable through the normal gamepad API.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.