concinnity-core 0.19.2

Runtime vocabulary for the Concinnity engine: GPU layouts, ECS components, registry, CPU kernels
Documentation
// src/components/nav_direction.rs

/// A directional UI-navigation pulse, carried by
/// [FrameInput::nav](#structfield.nav) for one frame.
///
/// Produced from d-pad presses (with hold auto-repeat) and deliberate
/// left-stick deflections; menu focus movement consumes it while a screen is
/// active.
#[derive(Debug, Clone, Copy, PartialEq, Eq, serde::Serialize, serde::Deserialize)]
pub enum NavDirection {
    /// Move focus up.
    Up,
    /// Move focus down.
    Down,
    /// Move focus left.
    Left,
    /// Move focus right.
    Right,
}