pub enum CalibPhase {
AllAccepted,
Done,
Full,
Zero,
}Expand description
Calibration phase signaled to the backlight task during first-boot setup.
Variants§
AllAccepted
All keys accepted; the settle window is running. Backlight: three short green flashes - signals the user every key has been recorded and all keys may be released.
Done
Calibration complete and persisted to EEPROM; keyboard is ready. Backlight color: green for 2 s, then restores normal white.
Full
Full-travel pass in progress; user should press every key to the bottom. Backlight color: red→blue gradient (0 % → 100 % of keys accepted); individual accepted keys light up green immediately.
Zero
Zero-travel pass in progress; keys should be fully released. Backlight color: amber.
Trait Implementations§
Source§impl Clone for CalibPhase
impl Clone for CalibPhase
Source§fn clone(&self) -> CalibPhase
fn clone(&self) -> CalibPhase
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CalibPhase
Auto Trait Implementations§
impl Freeze for CalibPhase
impl RefUnwindSafe for CalibPhase
impl Send for CalibPhase
impl Sync for CalibPhase
impl Unpin for CalibPhase
impl UnsafeUnpin for CalibPhase
impl UnwindSafe for CalibPhase
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)