Expand description
The contract between OpenLogi’s HID++ layer and the HID stack beneath it.
HidBackend is the seam. Above it sits everything that knows HID++ and
nothing about a host; below it sits one implementation per host HID API —
openlogi-hid over async-hid today, a scripted device tree in tests, and
WebHID under wasm if that is ever built.
Its own dependencies stay host-free for the same reason, which CI’s
wasm (portable crates) job checks rather than trusts. The conversions
from a backend’s own types belong with that backend, never here.
Structs§
- NodeId
- Opaque identity of one HID node, as the backend that enumerated it names it.
- Node
Info - One HID node as the backend reports it, before anything is opened.
Enums§
- Backend
Error - A failure raised by the HID backend beneath the HID++ channel layer.
- Hotplug
Event - A HID node appeared on or vanished from the OS device tree.
Traits§
- HidBackend
- The HID stack beneath OpenLogi’s HID++ layer.
- RawWriter
- A raw output-report sink, for reports the HID++ framing cannot model.
Type Aliases§
- Hotplug
Stream - A stream of
HotplugEvents, boxed soHidBackendstays object-safe.