display help in inputs display

This commit is contained in:
Michael Sippel 2024-09-29 05:30:05 +02:00
parent 768117ef65
commit 2219bc41dd

View file

@ -48,15 +48,17 @@ impl Default for Inputs {
impl Inputs {
pub fn display(&self) {
let cycle_bpm = (60000.0 / self.cycle_len.as_millis() as f32);
eprintln!("transition: {:?}", self.transition_time);
eprintln!("cycle: {:?}", self.cycle_len);
eprintln!("cycle [tap X]: {:?} | {} bpm", self.cycle_len, cycle_bpm);
eprintln!("wave peak: {:?}", self.wave_peak);
eprintln!("master wave: {:?}", self.master_wave);
eprintln!("master wave [tap K]: {:?}", self.master_wave);
eprintln!("master subdivision: {}", self.master_subdivision);
eprintln!("master intensity: {}", self.master_intensity);
eprintln!("wheel 1: {}", self.wheel);
eprintln!("wheel 2: {}", self.wheel2);
eprintln!("wheel 3: {}", self.wheel3);
eprintln!("wheel-0 [G +/- B]: {}", self.wheel);
eprintln!("wheel-1 [F +/- V]: {}", self.wheel2);
eprintln!("wheel-2 [S +/- D]: {}", self.wheel3);
}
}