Migrate to raw WebUSB - #87
Open
HaoboGu wants to merge 3 commits into
Open
Conversation
…yout A keyboard that matches the vendor usage filter without speaking rynk (a Vial board shares usage page 0xFF60) could park the connect flow forever: WebHID sendReport never settles, the probe deadline never covered it, and the whole screen stayed disabled. - probeVersion runs under an idle watchdog that also covers the send: every answer rearms the 5s window, so a slow link that is still talking is never cut off, and only silence gives up. Opening the transport gets its own 15s deadline, a late open closes itself, and WebHidLink.close no longer wedges behind a stuck sendReport. - Failures now explain themselves: explainKeyboardError maps each cause to a title plus a next step (port busy, not RMK firmware, link lost), shown as error toasts that stay until dismissed and dedupe on retry. A row whose last attempt failed keeps a red 'failed' pill instead of falling back to 'ready'. - The connect screen centres as one column and scrolls when the viewport is too short (phones). Both tabs' lists stack in one grid cell so switching tabs cannot move the card; the empty-state floor is exactly one device row, so native builds with a single keyboard show no dead space; native builds get native hints instead of browser copy. Signed-off-by: Haobo Gu <haobogu@outlook.com>
Signed-off-by: Haobo Gu <haobogu@outlook.com>
Contributor
Replace the `feat/rynk-usb` branch pin (#1023 is merged as 7fe0c396e) and the `branch = "main"` pins with one rev, so the desktop app, the fixture firmware and the wasm client always speak the same protocol commit. The CI checkout step existed only to keep two independent resolutions of the moving `main` branch on one commit; with rev pins it is redundant and would override them via RMK_REPO, so drop it. Signed-off-by: Haobo Gu <haobogu@outlook.com>
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.