Introducing a new way to review your PRs.

Read the announcement

aprilnea / openlogi

⚡️A native, local-first alternative to Logitech Options+, written in Rust 🦀 — remap buttons, DPI, and SmartShift over HID++. No account, no telemetry.

View on GitHub

25 documents · Updated Nov 23, 2026

overview

Knowledge Base updated: 2026-11-22

OpenLogi knowledge base

OpenLogi is a Rust workspace for configuring and operating supported Logitech hardware. Its product surface is divided between a desktop application, a background agent, command-line workflows, and shared device/protocol crates.

Runtime state and behavior are concentrated in the desktop feature/state modules, the agent-core orchestration and Flow runtime, device sessions and inventory, and core per-device configuration. Platform-facing boundaries isolate HID/HID++, global input, camera UVC, overlays, permissions, and packaging concerns.

System map

flowchart TD
  Desktop[openlogi-desktop] --> IPC[IPC contracts]
  CLI[CLI commands] --> IPC
  IPC --> Agent[openlogi-agent]
  Agent --> AgentCore[openlogi-agent-core]
  AgentCore --> Flow[Flow coordination]
  AgentCore --> Device[openlogi-device]
  Desktop --> Core[openlogi-core]
  AgentCore --> Core
  Desktop --> UI[openlogi-ui]
  Device --> HIDPP[openlogi-hidpp]
  HIDPP --> HID[HID transport]
  Device --> Registry[device registry]
  AgentCore --> Camera[camera controls]
  AgentCore --> Input[input hooks and injection]
  Desktop --> Overlay[visual overlay]

Glossary

  • Flow — the cross-device pointer-handoff protocol and agent-side coordination runtime.
  • HID++ — Logitech’s protocol layer represented above raw HID transport.
  • Device session — the device-domain abstraction used for connected-device behavior, inventory, replay, capture, and writes.
  • Fixture — a deterministic recorded or synthetic hardware scenario used to exercise device behavior.
  • xtask — the workspace automation binary for development, packaging, signing, and release operations.

Codebase-wide invariants

  • Hardware-specific behavior remains above raw HID transport; crates/…/raw.rs is the HID++ raw-channel boundary.
  • Device-domain workflows coordinate through sessions and inventory rather than direct desktop access to protocol transport; see crates/…/backend.rs.
  • Per-device configuration is maintained in the shared core domain, including crates/…/per_device.rs.
  • Desktop feature behavior is mediated through feature and state modules, for example crates/openlogi-desktop/src/state/** and crates/openlogi-desktop/src/features/**.
  • Release and packaging policy is implemented through xtask/src/commands/**, rather than ad-hoc product runtime code.

Routing table