Skip to main content

Crate openlogi_core

Crate openlogi_core 

Source
Expand description

Shared types and configuration for OpenLogi.

This crate is deliberately I/O-free apart from filesystem reads/writes of the user config file. It must never depend on hidpp, async-hid, or any platform-specific event/window API — those live in sibling crates.

Modules§

binding
Logical mouse button identifiers and the action vocabulary each one can bind to. Lives in openlogi-core because the config schema serializes these directly — the GUI re-exports them.
config
User configuration, persisted as TOML at the platform-standard config path.
device
Serializable device-model types.
paths
Per-OS application directories, following the XDG Base Directory spec on every platform — including macOS, so configuration lives at the familiar ~/.config/openlogi/ rather than macOS’s ~/Library/Application Support/.