1 2 3 4 5 6 7 8 9 10 11 12 13
/// Rynk lock-gate configuration, emitted by the macro from `[host]` in /// keyboard.toml. `unlock_keys` empty ⇒ dangerous ops are permanently locked. #[derive(Clone, Copy, Debug, Default)] pub struct LockConfig { /// Physical `(row, col)` keys held simultaneously to unlock. Empty ⇒ no /// unlock possible. pub unlock_keys: &'static [(u8, u8)], /// Start (and stay) unlocked — development escape hatch. pub insecure: bool, /// Move the config-write tier (`SetKeyAction`, `SetMacro`, …) into the /// locked set. pub write_requires_unlock: bool, }