AprilNEA / AprilNEA/OpenLogi

Add openlogi-hid-web: a HidBackend over WebHID

Open
#828 0 comments 0 reactions 0 assignees View on GitHub
area: hid area: web type: feature
Dominant language
Rust
Stars
21k
Forks
675
Avg merge
2d 5h
Merged PRs (30d)
172

Description

New crate implementing `HidBackend` on `web-sys`'s WebHID bindings (still behind `--cfg=web_sys_unstable_apis`). Scope: request/open a device from a user gesture, map the HID++ short/long report collections, feed reads into the de-threaded read path, surface disconnects.

Depends on the timer and read-loop issues in this epic; until both land this crate can compile but not run.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the HidBackend interface and the timer and read-loop issues this crate depends on, then inspect the web-sys WebHID bindings. Implement the openlogi-hid-web crate so it requests and opens a device from a user gesture, maps HID++ short and long report collections, feeds reads into the de-threaded read path, and surfaces disconnects.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.