tek/src/transport.rs
unspeaker d6bf840a1f wip: running interface in separate or combined mode
also disassociating render functions from state structs
2024-07-04 01:36:30 +03:00

22 lines
525 B
Rust

mod handle;
mod jack;
mod render;
pub use self::handle::*;
pub use self::jack::*;
pub use self::render::*;
use crate::prelude::*;
pub struct Transport;
impl Transport {
pub fn new () -> Result<Self, Box<dyn Error>> {
Ok(Self)
}
}
const ACTIONS: [(&'static str, &'static str);3] = [
("Tab/Shift-Tab, Arrows", "Navigate"),
//("Home", "⏹ Stop and rewind"),
("Space", "⏮ Play from cursor/pause"),
("Shift-Space", "⯈ Play from start/rewind"),
];