Skip to main content

openlogi_core/
lib.rs

1//! Shared types and configuration for OpenLogi.
2//!
3//! Everything here is data — the device model, the action catalogue, the
4//! binding types, the shape of the config file. It must never depend on
5//! `hidpp`, `async-hid`, or any platform-specific event/window API; those live
6//! in sibling crates.
7//!
8//! The exceptions are feature-gated (both on by default): reading and writing
9//! that config file (`fs`), and locale negotiation (`locale`), which reads the
10//! host's language preference. Without them this crate touches no host at all,
11//! which is what the `wasm (portable crates)` CI job checks.
12
13#![deny(missing_docs)]
14
15pub mod action_ring;
16pub mod app;
17pub mod binding;
18pub mod bindings;
19pub mod brand;
20pub mod color;
21pub mod config;
22pub mod device;
23pub mod device_order;
24pub mod diagnostics;
25pub mod hid;
26#[cfg(feature = "locale")]
27pub mod locale;
28#[cfg(feature = "fs")]
29pub mod paths;
30pub mod scroll;
31#[cfg(feature = "fs")]
32pub mod single_instance;