Skip to main content

controls_fit

Function controls_fit 

Source
pub fn controls_fit<A: ActionSet>(
    profile: &TargetProfile,
    layout: &PadKeys<A>,
    screens: &[ScreenActions<A>],
) -> Vec<FitProblem>
Expand description

Whether the controls of layout (a target’s default buttons) fit profile on each of screens: every problem, the layout’s first (in action order), then each screen’s in the order given (see the module docs).